Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by InsertGame · Oct 23, 2017 at 03:32 AM · iosgoogle play gamesunity cloud build

Unity Cloud Build iOS error

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)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by InsertGame · Oct 26, 2017 at 12:08 AM

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).

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image renanssba · Oct 26, 2017 at 12:28 AM 0
Share

Amazing. I'll try your fix and see if it does the trick for me. Thanks for the help!

avatar image renanssba · Oct 26, 2017 at 03:03 AM 0
Share

Yes, 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.

avatar image InsertGame renanssba · Oct 26, 2017 at 03:54 AM 0
Share

@renanssba cheers :)

avatar image RealMaxwell · Oct 27, 2017 at 11:13 PM 0
Share

Solved my problem . Thank you!

avatar image
0

Answer by renanssba · Oct 24, 2017 at 05:23 AM

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image renanssba · Oct 25, 2017 at 06:00 AM 0
Share

Hey @InsertGame , I just finished building my project in iOS. The problem is that XCode is trying to link GooglePlayGames. What I did to be able to build the project was: deleting the folder Assets/Plugins/iOS and the archives inside (they were GPGSAppController.mm, GPGSAppController.h and their metas). This way, Unity didn't try to compile and link Google Play services.

The strange fact, though, is: even after commiting this change and trying to build via Cloud Build, the same error persists: "ld: library not found for -lGooglePlayGames".

$$anonymous$$aybe threre's a way to "Clean" the Cloud Build workspace and Rebuild the project all over again from scratch?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

102 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

iOS Game Center & Android Game Center "Play Games" 1 Answer

does google play services API work on iphone?? 0 Answers

How big games push their content on first launch after Game installation ? 0 Answers

UnityCloudBuildProjectId not set in info.plist (iOS) 0 Answers

Is it possible to get my Android app on iOS devices without having to rewrite all of my code in Swift or Objective-C? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges