Keep getting this one error on ios cloud build, been doing this for the past 10 builds.
For reference, im using googleplayservices plugin and set NO_GPGS on iOS. The library shouldn’t be used on iOS but seems like it’s trying to…
ld: library not found for -lGooglePlayGames
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2 Answers
2
Hey @renanssba I finally managed to get some successful builds on Unity Cloud Build.
I went to Assets->Play Services Resolver and unticked all of the iOS settings + “Do not integrate cocopods”.
I also reimported all the plugins just incase. Because the Plugins folder gets cluttered by Unity plugins I had to delete them all and reimport (For me if was UnityAds, UnityIAP, CloudOnce - basically a GPGS wrapper).
It sounds like you should do a reimport too since I couldn’t find GPGSAppController in my own project (maybe you have an older version of GPGS).
Hello @InsertGame,
I’m having the same issue right now. Will update this answer when I have something more solid.
By searching the web, I found in some sources that you can disable this library (GooglePlayGames) for compilation manually in the generated XCode project. I have a Mac, so I’ll try that and see if I can compile. If that works, we can try to think about a way to disable the library compilation in the Cloud Build.
Amazing. I'll try your fix and see if it does the trick for me. Thanks for the help!
– renanssbaYes, it solved the issue. Just finished a correct build. Thanks a lot! PS: please submit your fix as an answer, so I can upvote and it's easier for people to find this fix later.
– renanssbaSolved my problem . Thank you!
– RealMaxwellI don't know how to get the tangent.
– sean244