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 JacobHockey13 · Mar 10, 2015 at 06:21 AM · iosxcodeapple

Mach-O Linker error Xcode

I just completed an iOS project in Unity and am trying to build and run it in Xcode. Admittedly, I'm pretty clueless when it comes to Xcode, but my app won't run because I have about a hundred Mach-O linker errors on the side. I'm using 4.6.3. Any advice how to get this fixed?

alt text

screen-shot-2015-03-09-at-111216-pm.png (412.8 kB)
screen-shot-2015-03-09-at-110546-pm.png (131.6 kB)
Comment
Add comment · Show 1
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 JacobHockey13 · Mar 10, 2015 at 03:30 PM 0
Share

Update: So I tried to delete my derived data which seemed to fix it and I was successfully able to run my app but it stopped because I didn't have the Unity splash screen. Would deleting my derived data do this? I can't think of anything else that would delete the splash screen. The problem is the derived data isn't arm64, but I'm using Unity 4.6.3 so shouldn't it be arm64? I'm not using any plugins. I'm really confused.

alt text

screen-shot-2015-03-10-at-81002-am.png (453.3 kB)

5 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Bendik74 · Mar 10, 2015 at 09:37 AM

Hi,

I have had the same problem. But the one thing you must not do, is verify your project in Xcode, just compile as is. I think the linker errors will go away then,

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 fafase · Mar 16, 2015 at 06:32 AM 0
Share

hmmm not, if there is an error, it just does not disappear because you think it will.

avatar image
0

Answer by alok-kr-029 · Mar 10, 2015 at 07:40 AM

I was also getting this bug when i used facebook third party plugin I solved it by commenting those error lines in xcode

if you are using Iads or social media try to import it in xcode

hope it will help

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
avatar image
0

Answer by fafnir · Mar 10, 2015 at 04:43 PM

The first errors are related to Metal, and that API will only build on devices it was made for (just the very latest ios devices). The other error I can't really say anything about. Did you remove any files manually?

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 JacobHockey13 · Mar 10, 2015 at 05:04 PM 0
Share

No I didn't remove any files manually. Here are a few more of the errors I got. Sorry it's so messy.

ld: warning: ignoring file /Users/jeffhotz/Dots or Die/Dots or Die/Libraries/libiPhone-lib.a, file was built for archive which is not the architecture being linked (arm64): /Users/jeffhotz/Dots or Die/Dots or Die/Libraries/libiPhone-lib.a Undefined symbols for architecture arm64: "UnityFinished$$anonymous$$etalFrame", referenced from: __TeardownFrameRendering$$anonymous$$TL_block_invoke in $$anonymous$$etalHelper.o "_UnityGetCommandBuffer$$anonymous$$etal", referenced from: _Present$$anonymous$$TL in $$anonymous$$etalHelper.o "_UnitySetAsDefaultFBO$$anonymous$$etal", referenced from: _PreparePresent$$anonymous$$TL in $$anonymous$$etalHelper.o "_UnityDestroyExternalSurface$$anonymous$$TL", referenced from: _DestroyUnityRenderBuffers$$anonymous$$TL in $$anonymous$$etalHelper.o "_UnityCreateExternalColorSurface$$anonymous$$TL", referenced from: _CreateUnityRenderBuffers$$anonymous$$TL in $$anonymous$$etalHelper.o _PrepareRendering$$anonymous$$TL in $$anonymous$$etalHelper.o "_UnityCreateExternalDepthSurface$$anonymous$$TL", referenced from: _CreateUnityRenderBuffers$$anonymous$$TL in $$anonymous$$etalHelper.o "_UnityCreateDummySurface$$anonymous$$TL", referenced from: _CreateUnityRenderBuffers$$anonymous$$TL in $$anonymous$$etalHelper.o "_UnityADInterstitialADWasLoaded", referenced from: -[UnityInterstitialAd interstitialAdDidLoad:] in iAD.o "_UnityADBannerViewWasLoaded", referenced from: -[UnityADBanner bannerViewDidLoadAd:] in iAD.o

"_UnityADBannerViewWasClicked", referenced from: -[UnityADBanner bannerViewActionDidFinish:] in iAD.o "_UnityReportWWWReceivedData", referenced from: -[UnityWWWConnectionDelegate connection:didReceiveData:] in WWWConnection.o

"_UnityUseAnimatedAutorotation", referenced from: -[UnityViewControllerBase willRotateToInterfaceOrientation:duration:] in UnityViewControllerBase.o "_mono_aot_register_module", referenced from: Register$$anonymous$$ono$$anonymous$$odules() in Register$$anonymous$$ono$$anonymous$$odules.o "_mono_aot_module_Assembly_UnityScript_firstpass_info", referenced from: Register$$anonymous$$ono$$anonymous$$odules() in Register$$anonymous$$ono$$anonymous$$odules.o "_mono_aot_module_Boo_Lang_info", referenced from: Register$$anonymous$$ono$$anonymous$$odules() in Register$$anonymous$$ono$$anonymous$$odules.o "_UnityForcedPlayerLoop", referenced from: UnityRepaintImpl(bool) in UnityAppController+Rendering.o "_UnityPlayerLoop", referenced from: UnityRepaintImpl(bool) in UnityAppController+Rendering.o "_mono_aot_module_UnityEngine_UI_info", referenced from: Register$$anonymous$$ono$$anonymous$$odules() in Register$$anonymous$$ono$$anonymous$$odules.o "_UnityInputProcess", referenced from: UnityRepaintImpl(bool) in UnityAppController+Rendering.o

"_UnityCreateUpdateExternalColorSurfaceGLES", referenced from: _CreateUnityRenderBuffersGLES in GlesHelper.o "_mono_aot_module_Assembly_UnityScript_info", referenced from: Register$$anonymous$$ono$$anonymous$$odules() in Register$$anonymous$$ono$$anonymous$$odules.o "_UnityParseCommandLine", referenced from: _main in main.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

avatar image alok-kr-029 · Mar 11, 2015 at 06:06 AM 0
Share

http://codewithchris.wpengine.netdna-cdn.com/img/adding_iad_framework_to_xcode.jpg

Have you added the frameworks and libraries

avatar image
0

Answer by sudhir_kotila · Mar 11, 2015 at 08:11 AM

which social plugins you are implemented in you project ? (are you implements Applovin,Facebook ?) This error is confling with unity 4.6+.

Comment
Add comment · Show 3 · 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 JacobHockey13 · Mar 16, 2015 at 06:28 AM 0
Share

None. I'm not using iAd, and I don't know what have of the stuff is so it all seems bizarre to me. I didn't install any plugins. I am using 4.6.3. Xcode is Greek to me.

avatar image JacobHockey13 · Mar 16, 2015 at 09:53 PM 0
Share

Interestingly, after the app crashes, the powered by Unity splash screen comes up through the multitasking view.

avatar image bhartu · Mar 24, 2015 at 11:09 AM 0
Share

@sudhir_kotila I am also getting same error. I am using applovin, chartboost and revmob plugins.

avatar image
0

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

26 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

Related Questions

UnityAds has UIWebView which has been deprecated by Apple 3 Answers

Building to IOS 2 Answers

Rate Game and More Games Urls for Apple Store 0 Answers

How to build a native plugin with multiple platform support? 0 Answers

dyld`dyld_fatal_error on xCode 1 Answer


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