Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 pixelbug · Sep 25, 2012 at 09:45 PM · linkerarmv7

Apple Mach-O linker error during build

Hi please help resolve this issue I'm trying to compile an app but it keeps giving me 3 Mach-O linker error messages

 Undefined symbols for architecture armv7:
   "NotifyAutoOrientationChange()", referenced from:
       ScreenManager::SetIsOrientationEnabled(EnabledOrientation, bool) in libiPhone-lib.a(ScreenManager.o)
   "Register_UnityEngine_Mesh_INTERNAL_CALL_Clear()", referenced from:
       RegisterAllStrippedInternalCalls() in RegisterMonoModules.o
 ld: symbol(s) not found for architecture armv7
 clang: error: linker command failed with exit code 1 (use -v to see invocation)


I'd appreciate the community's help I've tried everything within my capacity

Thanks

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
1

Answer by drawcode · Sep 25, 2012 at 09:51 PM

Try doing a clean. Also make sure your build is only set to armv7 if you are using newer XCode. They dropped support for arvm6. You can adjust this in your Unity Project Settings for iOS. Just select armv7 only. Also possibly remove the export if you can and reexport or replace when you build and run.

Comment
Add comment · Show 8 · 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 pixelbug · Sep 25, 2012 at 10:02 PM 0
Share

Hi Ryan, I made sure build is set to armv7. Re: "Also possibly remove the export if you can and reexport or replace when you build and run." Could you please be more specific. Apologies still learning )

avatar image drawcode · Sep 26, 2012 at 02:22 AM 0
Share

I mean the build export path where the xcode project is built. Just remove that and rebuild. Or you can just 'replace' ins$$anonymous$$d of 'append' when you build and run to reset it.

avatar image nameless323 · Dec 13, 2012 at 10:55 PM 0
Share

Hi pixelbug, did you solve your problem? i have the same, and maybe you can tell me how to solve it. thanks

avatar image ZenithCode · Jan 15, 2013 at 11:09 AM 0
Share

Same problem here with Xcode 4.5.2 and Unity 3.5.3

avatar image dansav · Mar 21, 2013 at 08:35 PM 0
Share

Where do you set the target platform? It used to be in player settings but I haven't seen it since 4.0

Show more comments
avatar image
1

Answer by MrRetroCentral · Dec 06, 2015 at 03:38 AM

I had the same problem. I made a video to show you how to fix it. https://www.youtube.com/watch?v=j3UzJSRex_E

Comment
Add comment · 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

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

15 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

Related Questions

iOS Objective C plugin linker error 2 Answers

Error building for iOS: framework not found FBSDKCoreKit for architecture armv7 2 Answers

Apple Mach-O Linker Error 4 Answers

Xcode "Undefined symbols for architecture armv7" after attempted iAd script in Unity 0 Answers

How to Fix linker command failed with exit code 1 (use -v to see invocation)? 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