tamasgal
tamasgal

Reputation: 26329

Developing with Xcode 4.3 for iOS 4.2.1

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:

Valid architectures

Upvotes: 0

Views: 1218

Answers (5)

Jason
Jason

Reputation: 367

Changing the Architectures to armv6 armv7 worked for me, I didn't need the Required Device Capabilities at all.

Upvotes: 0

Alison Aftra
Alison Aftra

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

lk_vc
lk_vc

Reputation: 1182

Valid Architectures is of no use. You need to change Architectures to armv6 armv7, and Build Active Architectures to NO. demo

Upvotes: 1

WhiteTiger
WhiteTiger

Reputation: 1691

finds the item require the plist and removes the restriction to only ARMv7

Upvotes: 0

Eran
Eran

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

Related Questions