title: Xcode target architecture
body: <p>I have an iPhone app that I am trying to port to MacOS.  To get things started, I added a MacOS target to my existing Xcode project.</p>
  
  <p>The problem I am having is that when I switch from the MacOS target to the iOS target, it tries to build it with architecture i386, which leads to like a zillion compiler errors.</p>
  
  <p>In my target settings for the iOS target, it shows valid architectures as armv6 and armv7. </p>
  
  <p>Here is the first error:</p>
  
  <p>/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/machine/types.h:37:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/machine/types.h:37:24: error: i386/types.h: No such file or directory</p>