Apple Mach-O Linker error – Xcode 6 Beta 6

After downloading Xcode 6 beta 6, If you are receiving Apple Mach-O Linker error, Undefined symbols for architecture then try clearing the DerivedData for Xcode.

Undefined symbols for architecture x86_64:

“__TFSs26_forceBridgeFromObjectiveCU__FTPSs9AnyObject_MQ__Q_”, referenced from:

Derived data folder location

You find out the location of derived data using Xcode Preferences. Click Xcode -> Preferences.

201408191239.jpg

Click Locations tab and navigate to Derived Data section. Then click the arrow next to folder the path.

201408191241.jpg

Now delete DerivedData folder under Xcode.

201408191243.jpg

Useful link – http://stackoverflow.com/questions/25371556/swift-beta-6-confusing-linker-error-message


Comments

2 responses to “Apple Mach-O Linker error – Xcode 6 Beta 6”

  1. Very useful thank you for sharing.

  2. Thanks for sharing…saved my day

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.