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 Will_at_BridgeWorxGames · Apr 03, 2020 at 08:35 AM · ioschildchildrenlinker

Apple Mach-O Linker (ld) Error: Linker Command Failed

Hey, I'd really like to see an answer on this. I have the same problem and I can't get around it.

My Info

I've updated Unity to version 2019.3.7f1 and Xcode version 11.3.1.

Referenced Posts and Attempts

Attempt #1

his post mentions two things I have no idea where they are, maybe that will help or maybe its mentioning features only available in the referenced outdated version of Unity? 1. choose in player setting under other settings : universal platform and IL2CPP 2. update all plugins as these need to support arm64

https://answers.unity.com/questions/912000/apple-mach-o-linker-error-when-building.html

Attempt #2

Next, I tried what this post mentioned which was enabling module and disable bitcode: https://answers.unity.com/questions/1381020/apple-mach-o-linker-id-error-1.html

Attempt #3

set the Scripting Backend to IL2CPP (Defaults to Mono (2.x)) and Architecture to Universal as mentioned here: https://answers.unity.com/questions/788331/xcode-511-missing-architectures-arm64.html?_ga=2.208111634.1688457181.1585673871-1609956356.1584999078

Attempt #4

reset architecture settings to standard and build active architecture as this mentions: https://stackoverflow.com/questions/22331908/xcode-5-1-missing-required-architecture-arm64

Attempt #5

deleted the library search paths as mentioned here: https://stackoverflow.com/questions/16644982/apple-mach-o-linker-warning-directory-not-found

Attempt #6

'm not really willing to downgrade Xcode as this suggests: https://answers.unity.com/questions/1412715/apple-mach-o-linker-error-when-building-1.html

Attempt #7

tried changing the ... thingy up in the top left...it's like a button that states [Unity iPhone > iPhone] as opposed to a simulator or "General Device". (Looks like @MrRetroCentral put the solution that worked for him on many posts). https://answers.unity.com/questions/706942/apple-mach-o-linker-error-3.html https://answers.unity.com/questions/349669/apple-mach-o-linker-id-error.html https://answers.unity.com/questions/323051/apple-mach-o-linker-error-during-build.html https://answers.unity.com/questions/837069/unity-46beta-mach-o-linker-errors.html

Attempt #8

omeone here mentioned using some Native Sharing Plugins from a Github Repo, but I don't know how to use them: https://github.com/NicholasSheehan/Unity-Native-Sharing

Attempt #9

ere @rathodjignesh1805 merely tells you to expand two things, which...not sure how that's helpful. I think we're missing a step on what to do with the expanded sections. https://answers.unity.com/questions/1336791/apple-mach-o-linker-ld-error-group.html

Attempt #10

ince my issue is related to Duplicate Architecture Symbols, I switched No Common Blocks to 'No' and I still get the Apple Mach-O Linker Error. https://stackoverflow.com/questions/16427024/duplicate-symbols-for-architecture-armv7

Attempt #11

ran the pack uninstaller as someone recommended in this post yet found I don't have anything called 'Ads' at all: https://stackoverflow.com/questions/35723861/unity-ads-error-from-unity-to-xcode-build

Other People's Attempts to Ask Answer.Unity.com

ere are posts from poor souls who never got an answer: https://answers.unity.com/questions/1574708/how-to-solve-xcode-apple-mach-o-linker-id-error.html

https://answers.unity.com/questions/1075727/apple-mach-o-linker-id-errors.html

https://answers.unity.com/questions/999733/64bit-architecture-lead-to-problems.html

https://answers.unity.com/questions/534784/apple-mach-o-linker-error-in-xcode-due-to-game-cen.html

https://answers.unity.com/questions/1345370/xcode-apple-mach-o-linker-error-library-not-found.html

https://answers.unity.com/questions/180064/apple-mach-o-linker-error.html

Summation

am stuck I have no idea what to do. Please help me. I'm so desperate! Where do I throw my money!? In all honesty, thank you for your time!

I get the following error message: alt text

screen-shot-2020-04-01-at-21857-pm.png (144.0 kB)
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

Answer by Will_at_BridgeWorxGames · Apr 03, 2020 at 10:55 PM

I got in touch with a local gamer's group and they helped out. Looks like the answer was in the warning. I removed all of Unity's ads, built the game, and archiving in XCode worked. No Link-O-Whatever error. So, then while re-implementing all the ads, I found that there were two scripts requesting the IUnityAdsListener in the class initialization lists, yet I was only using one of those files. Got rid of the second, and bam! We're good to go. Hopefully that helps someone else in the future!

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 Will_at_BridgeWorxGames · Apr 04, 2020 at 04:49 AM 0
Share

I'm back...it didn't work. Once I enable the Ads in the Services tab, I get the $$anonymous$$ach-O-Linker again.

avatar image Will_at_BridgeWorxGames · Apr 06, 2020 at 04:48 PM 0
Share

Got it. Unity Editor > Cloud > Services > Enable Ads > Advanced > DISABLE plugins (if you have the Unity Ads 2.0 SDK package installed from the Asset Store).

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

157 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 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 Children's Game: Closing and relaunching again allows user to access the App Store 0 Answers

Several Linker errors building in XCode 4.5.1 (Unity 3.5.6f4) 1 Answer

Can't get children/Color not part of material 1 Answer

How to change color to every specific material in a child of a group..? 1 Answer

How to make multiple gameobjects child of one and the same transform (SCRIPT) 2 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