-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Sample apps failing during linking process #13
Comments
Further information I probably should have noticed earlier: On exporting, I do get an error about Unity being unable to parse my PBX project. This is with Unity 5.4.2 and Xcode 8.1. I'll update my Unity to 5.4.3 and see if that fixes the issue...
|
Just confirming that I still get this ParseTree() error even when I update to Unity 5.4.3f1. Hmmm.... |
Looking at the example project ToddKerpelman shared with me, it's possible that this is due to an out of date Cocoapods install which is causing CocoaPods/CocoaPods#1275 . Essentially when "pod install" is executed it generates an XML Xcode project which can't be read by the xcodeapi in Unity. We have better reporting lined up for the next release. |
Todd confirmed that updating to Cocoapods 1.1.x resolved the issue. He was using 1.0.0 before which resulted in the generate Pods.xcproject to be written out in XML format which can't be read by Unity. |
Yep. For anybody else who encounters this problem, please update your version of Cocoapods. |
I'm sure this is a case of "Todd forgetting some simple step" here, but I'm having issues running the sample apps on an actual iOS device -- the apps fail on the linker step.
I'll use the
remote-config
one as an example. I've imported the RemoteConfig.unitypackage and added the appropriate info.plist file to the sample app. I've selected iOS as the platform; built and run.The generated Xcode project opens okay, but during the linking process fails with:
I can see both
libApp.a
andlibRemoteConfig.a
in my Build Phases > Link Binary with Libraries step. And it appears as though the pod install has run, although I don't see a generated workspace -- I'm assuming that's intentional due to integrate_targets being false.So I'm guessing this is probably a case of something simple not being added or some flag not being set. Any ideas?
The text was updated successfully, but these errors were encountered: