5
votes

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?

2

2 Answers

12
votes

enter image description here

Change:

  • Architectures: Standard
  • Valid Architectures: arm64 armv7 armv7s

To:

  • Architectures: armv7 armv7s
  • Valid Architectures: armv7 armv7s
1
votes

Remove armv64 in

Project > Build Settings > Architectures> Valid Architectures

( i.e. leave only armv7 and armv7s )

Also, set Build Active Architectures Only to NO.