• 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
Question by stefan1294 · May 17, 2014 at 12:25 PM · erroriosarmv7

Symbol(s) not found for architecture armv7 (Compiling w/ xCode)

I'm having really annoying issues compiling my iOS Project. I keep getting the error "Symbol(s) not found for architecture armv7). Full error:

 > Undefined symbols for architecture armv7:
   "_OBJC_CLASS_$_FBFrictionlessRecipientCache", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_SLServiceTypeTwitter", referenced from:
       ___32-[IOSTwitterPlugin loadUserData]_block_invoke in IOSTwitterPlugin.mm
 obj
       -[IOSTwitterPlugin postWithMedia:media:] in IOSTwitterPlugin.mm.obj
       -[IOSTwitterPlugin post:] in IOSTwitterPlugin.mm.obj
       -[IOSTwitterPlugin IsTwitterAvaliable] in IOSTwitterPlugin.mm.obj
       -[SocialGate twitterPostWithMedia:media:] in SocialGate.mm.obj
       -[SocialGate twitterPost:] in SocialGate.mm.obj
   "_OBJC_CLASS_$_SLRequest", referenced from:
       objc-class-ref in IOSTwitterPlugin.mm.obj
   "_OBJC_CLASS_$_FBSession", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_SLComposeViewController", referenced from:
       objc-class-ref in IOSTwitterPlugin.mm.obj
       objc-class-ref in SocialGate.mm.obj
   "_SLServiceTypeFacebook", referenced from:
       -[SocialGate fbPost:] in SocialGate.mm.obj
       -[SocialGate fbPostWithMedia:media:] in SocialGate.mm.obj
   "_OBJC_CLASS_$_FBSettings", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBAppCall", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBRequestConnection", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBWebDialogs", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBShareDialogParams", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBDialogs", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBRequest", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_FBAppEvents", referenced from:
       objc-class-ref in FbUnityInterface.mm.obj
   "_FBErrorParsedJSONResponseKey", referenced from:
       _ResponseHelper in FbUnityInterface.mm.obj
   "_FBNonJSONResponseProperty", referenced from:
       _ResponseHelper in FbUnityInterface.mm.obj
   "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
       objc-class-ref in libGoogleAdMobAds.a (GADDevice.o)
       objc-class-ref in libGoogleAdMobAds.a (GADGestureIdUtil.o)
 ld: symbol(s) not found for architecture armv7

I did some research, but I haven't found the answer. I did find a possible reason, the plugins are out of date. Could this be the issue? I believe they are completely up to date.

So, what could be causing this, and how can I fix this?

Thanks for your help

Edit: Attempts to solve this, so far: Compile via armv6. Received different errors, see my response to meat5000's answer Compile via armv7s. Received different errors, see my response to meat5000's answer Update FB plugin, same errors.

Comment

People who like this

0 Show 0
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

Answer by meat5000 · May 17, 2014 at 12:28 PM

http://stackoverflow.com/questions/21447703/applovin-undefined-symbols-for-architecture-armv7

Maybe this is still relevant.

Arm7 not supported, only 6.

Change it to 6 and it should work.

Comment

People who like this

0 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 stefan1294 · May 17, 2014 at 12:43 PM 0
Share

Even though that error is based on Applovin, it could be relevant. However, I do not see the option to change my arm version to 6, in Unity 4.3.4f1

Edit: I changed it via Xcode, let me try it out.

Edit2: Getting this error right now:

A lot of these warnings:

 `'+soft-float-abi' is not a recognized feature for this target (ignoring feature)`

And this error:

 ld: file is universal (5 slices) but does not contain a(n) armv6 slice: ../usr/lib/crt1.o for architecture armv6


Edit3: I changed it to armv7s, getting this error right now:

 ld: file is universal (2 slices) but does not contain a(n) armv7s slice: Librari
 es/libiPhone-lib.a  for architecture armv7s
avatar image meat5000 ♦ · May 17, 2014 at 01:11 PM 0
Share

Indeed, the first answer mentions 6/7 support in Unity :)

However this page contradicts what the other one says

avatar image stefan1294 · May 17, 2014 at 02:29 PM 0
Share

@meat5000 So, what is your advice?

avatar image meat5000 ♦ · May 19, 2014 at 05:18 PM 0
Share

Did you try running in both modes?

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

21 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

Related Questions

Why do I get so many errors when I switch to ARM64? 0 Answers

Apple Mach-O Linker Error 0 Answers

What must I do to never see this xCode "Could not launch... No Such File or directory..." error again? 1 Answer

From Mac to IOS code Error 1 Answer

Undefined symbols for architecture armv7 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