Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 Beta - Apple Mach-O Linker error

After updating to the recently released beta 6 of Xcode 6, my swift project fails to build due to the following errors.

Xcode 6 Beta 6 issue

Looking at previous questions on this issue, propose checking the build architecture is set to support arm which mine project includes already (arm64, armv7s, armv7).

like image 508
Carlos Avatar asked Aug 19 '14 16:08

Carlos


3 Answers

First, make sure you have the most recent beta installed. Afterwards delete your DerivedData folder ( ~/Library/Developer/Xcode/DerivedData ). This should allow you to compile again in the latest beta.

Edit: This appears to hold true for the newest beta version of the Xcode as well

like image 111
drmarvelous Avatar answered Nov 14 '22 17:11

drmarvelous


From what I hear, so far Xcode 6 Beta 6 is broken. You should uninstall and rollback to Beta 5.

Edit: Apparently, a new version is already out, just reinstall beta 6

http://9to5mac.com/2014/08/18/apple-re-releases-xcode-6-beta-6-solves-issues-discovered-by-developers-in-new-build/

like image 27
BHendricks Avatar answered Nov 14 '22 18:11

BHendricks


Make sure you install the latest Xcode Beta 6 version. If you check Xcode->About Xcode, you should see: Version 6.0 (6A280e)

like image 2
jtlim Avatar answered Nov 14 '22 18:11

jtlim