John
John

Reputation: 5905

Facebook demo app fails to build on iOS

iOS beginner here. I'm trying to build the Facebook Demo App but I keep getting the following error:

Check dependencies

[BEROR]No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv7 armv6).

Any idea what causes this?

Upvotes: 0

Views: 313

Answers (1)

Matthew Frederick
Matthew Frederick

Reputation: 22305

For whatever reason it seems that your project doesn't have an architecture set. Click on the project name, then on Build Settings, and select the architectures as shown below:

Xcode 4 Architecture Settings

Edited to add

Also ensure the "Valid Architectures" include all three architectures:

Xcode 4 Valid Architecture Settings

Upvotes: 4

Related Questions