Reputation: 26329
I created a new project and set the compiler to LLVM GCC 4.2, iOS deployment target to 4.2 but I still can't launch it on an iPhone 3G with 4.2.1 on it. It works fine in the simulator and on an iPhone 4, but when I run it on an iPhone 3G with 4.2.1 it simple "finishes" right after I start it, without any console output.
Does anyone have a clue what's wrong?
These are the valid architectures:
Upvotes: 0
Views: 1218
Reputation: 367
Changing the Architectures to armv6 armv7 worked for me, I didn't need the Required Device Capabilities at all.
Upvotes: 0
Reputation: 11
In your project settings,
click on TARGET,
There should be a item called Required device capabilities. set that to armv6
it worked on me
Upvotes: 1
Reputation: 1182
Valid Architectures
is of no use. You need to change Architectures
to armv6 armv7
, and Build Active Architectures
to NO
.
Upvotes: 1
Reputation: 1691
finds the item require the plist and removes the restriction to only ARMv7
Upvotes: 0
Reputation: 120
You need to add armv6 architecture to the Valid Architectures. See this answer: Can't run app on iPhone 4.2.1 with Xcode 4.3.1 and IOS
Upvotes: 1