yenmoc / unity-discussions Goto Github PK
View Code? Open in Web Editor NEWerrors encountered in game development with unity
errors encountered in game development with unity
{
"title": "",
"screenshot": "",
"url": "",
"avatar": "",
"description": "",
"keywords": ""
}
#if UNITY_EDITOR && UNITY_IOS
using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
public class BuildPostProcessorInfo
{
[PostProcessBuild]
public static void OnPostProcessBuildAddFirebaseFile(BuildTarget buildTarget, string pathToBuiltProject)
{
if (buildTarget == BuildTarget.iOS)
{
// Go get pbxproj file
string projPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj";
// PBXProject class represents a project build settings file,
// here is how to read that in.
PBXProject proj = new PBXProject();
proj.ReadFromFile(projPath);
// Copy plist from the project folder to the build folder
proj.AddFileToBuild(proj.GetUnityMainTargetGuid(), proj.AddFile("GoogleService-Info.plist", "GoogleService-Info.plist"));
// Write PBXProject object back to the file
proj.WriteToFile(projPath);
}
}
}
#endif
Upgrade firebase from 7.0.2 to 8.1.0 is sloved problem
here is pod file
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '11.0'
target 'UnityFramework' do
pod 'FBSDKCoreKit', '~> 9.3'
pod 'FBSDKGamingServicesKit', '~> 9.3'
pod 'FBSDKLoginKit', '~> 9.3'
pod 'FBSDKShareKit', '~> 9.3'
pod 'Firebase/Analytics', '8.3.0'
pod 'Firebase/Core', '8.3.0'
pod 'Firebase/RemoteConfig', '8.3.0'
pod 'GoogleMobileAdsMediationAdColony', '4.6.1.0'
pod 'GoogleMobileAdsMediationAppLovin', '10.3.2.0'
pod 'GoogleMobileAdsMediationChartboost', '8.4.1.1'
pod 'GoogleMobileAdsMediationFacebook', '6.5.0.0'
pod 'GoogleMobileAdsMediationInMobi', '9.1.7.0'
pod 'GoogleMobileAdsMediationIronSource', '7.1.7.0'
pod 'GoogleMobileAdsMediationMoPub', '5.15.0.0'
pod 'GoogleMobileAdsMediationUnity', '3.7.2.0'
pod 'GoogleMobileAdsMediationVungle', '6.9.2.0'
pod 'Google-Mobile-Ads-SDK', '~> 8.2'
pod 'IronSourceAdColonyAdapter', '4.3.10.4'
pod 'IronSourceAdMobAdapter', '4.3.24.0'
pod 'IronSourceAppLovinAdapter', '4.3.26.1'
pod 'IronSourceFacebookAdapter', '4.3.26.3'
pod 'IronSourceInMobiAdapter', '4.3.10.1'
pod 'IronSourcePangleAdapter', '4.3.5.1'
pod 'IronSourceSDK', '7.1.7.0'
pod 'IronSourceUnityAdsAdapter', '4.3.10.2'
pod 'IronSourceVungleAdapter', '4.3.11.3'
end
target 'Unity-iPhone' do
end
use_frameworks!
use_frameworks!
Rope có thể gắn vật thể ở 2 đầu, 1 đầu cố định. Rope có thể bị đứt ra.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.