ich 4.5.1
-2007.0.1f3
aktualisiert Einheit haben, danach bin ich nicht in der Lage IOS zu machen bauen mit Unity Cloud aufbauen und bekommen dieses FehlerBibliothek nicht für -lGoogleToolboxForMac gefunden - Unity Wolke bauen
Bibliothek nicht gefunden - lGoogleToolboxForMac
Ich habe Google Firebase und Facebook SDK in meinem Projekt verwendet.
Beitrag Build-Skript Libs übertragen:
[PostProcessBuild]
public static void OnPostprocessBuild (BuildTarget buildTarget, string path)
{
#if !UNITY_CLOUD_BUILD
Debug.Log ("[UNITY_CLOUD_BUILD] OnPostprocessBuild");
ProcessPostBuild (buildTarget, path);
#endif
}
private static void ProcessPostBuild (BuildTarget buildTarget, string path)
{
#if UNITY_IOS
string projPath = path + "/Unity-iPhone.xcodeproj/project.pbxproj";
PBXProject proj = new PBXProject();
proj.ReadFromFile (projPath);
// This is the Xcode target in the generated project
string target = proj.TargetGuidByName("Unity-iPhone");
proj.AddBuildProperty(target, "CLANG_ENABLE_MODULES", "YES");
proj.AddBuildProperty(target, "OTHER_LDFLAGS", "-ObjC");
proj.AddBuildProperty(target, "OTHER_LDFLAGS", "-v");
List<string> frameworks = new List<string>() {
"AdSupport.framework",
"CoreData.framework",
"SystemConfiguration.framework",
"libz.dylib",
"libsqlite3.dylib",
"libGoogleAnalytics.a",
"libGoogleToolboxForMac.a",
"libApp.a",
"libAnalytics.a"
};
frameworks.ForEach((framework) => {
proj.AddFrameworkToProject(target, framework, false);
});
proj.WriteToFile (projPath);
#endif
}
Was soll ich tun IOS von UBC bauen zu machen?