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
0
Question by wolodo · Dec 11, 2016 at 08:52 PM · iosxcodeunity 4linkingarmv7

Building for iOS - Undefined symbols for architecture armv7

Hello, looks like I am not the first, who is asking about this issue but I need to try. Does anybody encountered this problem?

 Undefined symbols for architecture armv7:
   "_OBJC_CLASS_$_GSDK_GTMSessionFetcher", referenced from:
       objc-class-ref in gpg(GPGClearcutLogger.o)
   "_OBJC_CLASS_$_GSDK_GTMSessionFetcherService", referenced from:
       objc-class-ref in gpg(GIPNetworkImage.o)
   "_GTMMethodCheckMethodChecker", referenced from:
       +[NSDictionary(GTMNSDictionaryURLArgumentsAdditions) xxGTMMethodCheckMethodNSString32] in libGoogleToolboxForMac.a(GTMNSDictionary+URLArguments.o)
       +[NSDictionary(GTMNSDictionaryURLArgumentsAdditions) xxGTMMethodCheckMethodNSString33] in libGoogleToolboxForMac.a(GTMNSDictionary+URLArguments.o)
 ld: symbol(s) not found for architecture armv7
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

It looks like, some Google Play dependency is causing it, if I got it right. I already tried playing with scripting backend, architecture and target minimum iOS version in unity - no changes Then I also tried to switch some values in XCODE recommended in other threads with similar issue. Namely build settings -> architectures, valid architectures, supported platforms, base sdk, active architecture only. Also no changes, still the same error during linking.

I use XCODe 8.1, unity 5.3.6f1.

Any suggestions?

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

1 Reply

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

Answer by wolodo · Dec 16, 2016 at 09:13 PM

I managed to solve it by myself. The key is to edit the pod file like this (tested with the unity 5.3.6f1, GPG games plugin 0.9.34 and xcode 8.1):

 platform :ios, '8.0'
 
 target 'Unity-iPhone' do
 pod 'GooglePlayGames', '5.1'
 end

then you need to run pod install and it works!

Comment
Add comment · Show 2 · 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 coreykc · Jan 11, 2017 at 10:36 AM 0
Share

When I run the pod install without the '~> 5.1', I get the following error

[!] Unable to satisfy the following requirements:

  • GoogleSignIn (= 4.0.1) required by Podfile.lock

  • GoogleSignIn (~> 4.0) required by Google/SignIn (3.0.3)

  • GoogleSignIn (~> 2.2.0) required by GooglePlayGames (5.1)

Specs satisfying the GoogleSignIn (= 4.0.1), GoogleSignIn (~> 4.0), GoogleSignIn (~> 2.2.0) dependency were found, but they required a higher $$anonymous$$imum deployment target.

How were you able to run the pod install with the locked version?

avatar image wolodo coreykc · Jan 11, 2017 at 11:05 AM 0
Share

I wrote pod file right in the unity project as mentioned above. the I just hit build (not build and run) and all dependencies were satisfied automatically during unity build. I just opened the scaffolded project using .xcworkspace file and everything was fine.

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

76 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

Related Questions

Undefined symbols for architecture armv7 0 Answers

Undefined symbols for architecture armv7: "query_call_back(callback_func_type)", 0 Answers

Unity Xcode undefined symbols for armv7 0 Answers

Apple Mach-O Linker Error with UnityAds in 5.5.0f3 0 Answers

GUI Button assiged to a view created by Xcode? 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