title: build rules for xcode / iPhone
body: <p>Im incorporating the facebook SDK into an update and i get compiler warnings for four files,in one of my targets each file gets two warnings like these.</p>
  
  <p>[WARN]warning: no rule to process file '$(PROJECT_DIR)/<strong>APP_NAME</strong>/Facebook.h' of type sourcecode.c.h for architecture armv7</p>
  
  <p>[WARN]warning: no rule to process file '$(PROJECT_DIR)/<strong>APP_NAME</strong>/Facebook.h' of type sourcecode.c.h for architecture armv6</p>
  
  <p>and in the other target each file only generates one warning, </p>
  
  <p>[WARN]warning: no rule to process file '$(PROJECT_DIR)/<strong>APP_NAME</strong>/FBConnect.h' of type sourcecode.c.h for architecture i386</p>
  
  <p>in the documentation for the facebook SDK they tell me to add i386 to the valid architectures in the build settings, but they dont say anything about any 'build rules'   the strange thing is that I already incorporated the same facebook SDK into another app without a single problem.  The only difference that I can see is that this project already had two targets, and (each of) these warnings are only coming from one of them.  Can anybody give me a clue how to make a build rule for these four files?  do I need build rules for armv6 and armv7 AND i386?</p>
  
  <p>the build settings are exactly the same except for a different -info.plist and different .pch file each.  I should add that the facebook functionality is working fine on the simulator but not in any test device using either of the build targets.</p>
  
  <p>thanks so much.</p>