0

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

tamasgal
  • 24,826
  • 18
  • 96
  • 135

5 Answers5

1

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

Community
  • 1
  • 1
Eran
  • 120
  • 4
1

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

lk_vc
  • 1,136
  • 20
  • 26
1

In your project settings,

click on TARGET,

There should be a item called Required device capabilities. set that to armv6

it worked on me

0

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

WhiteTiger
  • 1,691
  • 1
  • 18
  • 23
0

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

Jason
  • 367
  • 6
  • 18