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 awardell · Mar 24, 2014 at 06:11 PM · xcode

Xcode - Lots of Apple Mach-O Linker Errors When Archiving

I'm trying to make an archive build in Xcode in order to use Testflight, but I get a ton of linker errors that prevent the build. I don't have this problem when I'm building directly to device. What am I doing wrong/what am I not doing that I need to? Thanks!

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 abi-kr01 · Mar 25, 2014 at 05:14 AM 0
Share

first copy error code/message and past,so that it can be resolved

3 Replies

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

Answer by awardell · Mar 26, 2014 at 10:36 PM

So apparently the problem is fixed as long as I have an iOS device hooked up... Weird, but ok.

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

Answer by supernat · Mar 25, 2014 at 06:11 AM

I'll take a guess at it. The most common thing that gets me is I forget to select the iOS Device option for the build target, and it attempts to build for the Emulator which lacks a ton of libraries. Usually, when you connect a phone or iDevice though, it will automatically switch to build for that device. Just check your build target dropdown and make sure it's set to iOS Device or your device, not to a specific emulator device.

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 awardell · Mar 25, 2014 at 06:10 PM 0
Share

That sounds like it certainly could be the problem. Having difficulty finding the build target option in xcode though, could you explain what page it's on?

avatar image supernat · Mar 25, 2014 at 08:36 PM 0
Share

It's in the top left corner of XCode. You have the Triangle, then the square (for Run and Stop), then the build target pulldown (it doesn't look like a pulldown in Apple's infinite wisdom, but click on it.) They call it a scheme if you move the mouse over it.

avatar image awardell · Mar 26, 2014 at 06:08 PM 0
Share

Ah okay, I had seen that, but the only option for the scheme is already iOS Device, and that was selected, so it must be something else. Thank you though!

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

23 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

Related Questions

TestFlight SDK and Xcode Issues 3 Answers

iOS xcode Mach-O Linker Error on latest Unity and xcode 1 Answer

Xcode 5.1.1: missing architectures [arm64] 2 Answers

EXC_BAD_ACCESS from Unity::Material::CreateMaterial When running simple app on iPhone. 3 Answers

Xcode Exc_Bad_Access Error, Help please: 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