I am currently developing iOS apps using Xcode 4.4. I'd like to target devices based on ARMv7 (iPhone 4, iPad) as well as older ARMv6 devices (e.g., my 2nd generation iPod Touch).
I searched online to figure out how to accomplish this without getting an error message similar to:  
error: failed to launch  /Users/xxx/Library/Developer/Xcode/DerivedData/test-ddeelrvexokmoocaqkbwswvyubhi/Build/Products/Debug-iphoneos/test.app/TEST' -- No such file or directory 
Here's how I got around the problem:
1. I built a project named Test. with iOS Deployment Target: 3.2
2.  In the Test-info.plist file, I deleted the entry for 'Required Device Capabilities'. 
3. In the Project -> Build Settings -> Architectures, I deleted $(ARCHS_STANDARD_32_BIT) and added 'armv6 armv7' - the text inside the single quotes only.
4. I was able to build for my iPhone 4 running iOS 5.1.1 as well for my 2nd generation iPod Touch running iOS 4.2.1.
 


Comments


Your comment will be posted after it is approved.


Leave a Reply