Permalink
Browse files

Added trouble shooting tip for DemoApp build after an upgrade to Xcod…

…e 4.
  • Loading branch information...
1 parent 479f284 commit cf1c2c3e645d738055caa749472fb4cd8dcf2e80 @caabernathy caabernathy committed Apr 6, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.mdown
View
@@ -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".

0 comments on commit cf1c2c3

Please sign in to comment.