From cf1c2c3e645d738055caa749472fb4cd8dcf2e80 Mon Sep 17 00:00:00 2001 From: Christine Abernathy Date: Wed, 6 Apr 2011 12:46:14 -0700 Subject: [PATCH] Added trouble shooting tip for DemoApp build after an upgrade to Xcode 4. --- README.mdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.mdown b/README.mdown index eb0e280247..b320e55785 100644 --- a/README.mdown +++ b/README.mdown @@ -191,3 +191,6 @@ The Facebook Application version 3.2.3 or higher will support single sign-on. Us Make sure you've edited your application's .plist file properly, so that your applicaition binds to the fb\[appId\]:// URL scheme (where "\[appId\]" is your Facebook application ID). +* After upgrading to Xcode 4 the Demo app will not build and I get the following error: [BEROR]No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv7 armv6). What should I do? + +Edit your build settings and add i386 to the list of valid architectures for the app. Click the project icon in the project navigator, select the DemoApp project, Build Settings tab, Architecture section, Valid Architectures option. Then click the grey arrow to expand, and double-click on right of Debug. After "armv6 armv7" add "i386".