Question

After upgraded a project on Xcode 5.1, Product > Build gives the following warning and error:

ld: warning: ignoring file Dropbox/Dropbox.framework/Dropbox, missing required architecture arm64 in file Dropbox.framework/Dropbox (3 slices)

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_DBPath", referenced from: objc-class-ref in DropboxViewController.o

It seems like the Dropbox.framework does not support arm64 yet.

What are the Xcode settings to remove arm64 support from the project to have a clean build?

Was it helpful?

Solution

enter image description here

Change:

  • Architectures: Standard
  • Valid Architectures: arm64 armv7 armv7s

To:

  • Architectures: armv7 armv7s
  • Valid Architectures: armv7 armv7s

OTHER TIPS

Remove armv64 in

Project > Build Settings > Architectures> Valid Architectures

( i.e. leave only armv7 and armv7s )

Also, set Build Active Architectures Only to NO.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top