newton_guima
newton_guima

Reputation: 1569

How to put my app in a iPhone 3G?

I am using Xcode 4.2 to develop my apps. My current ongoing project is set to run on ios4.2, but i only have a iPhone 3G (not 'S') to test my app. The problem is that when i try to run my app in my device, xcode says it was compiled and running on device but the app doenst even install in my iPhone.

I have read on other posts that i have to change the armvX configuration, so how do I do that in order for my app to run in a iPhone 3G?

Thanks.

Upvotes: 0

Views: 192

Answers (3)

Ben
Ben

Reputation: 2992

This is a hardware issue rather than an iOS version issue.

In the Architectures section of your build configuration it probably just says armv7.

You need it so have two entries, armv6 and armv7. Select Other from the architectures menu then delete the default then add two new entries, one that just says armv6, on that just says armv7.

This creates a fat binary (essentially two binaries) which will contain the v6 code the 3G needs.

Upvotes: 2

CStreel
CStreel

Reputation: 2642

I dont have my Mac in front of me but i believe in the Target settings for the project (click on the project in Xcode and under targets select your project name)

In the settings there you will see it more then liekly saying armv7 change to a lower number armv and i believe it will work.

though i cant be sure

Upvotes: 0

Khurram Ali
Khurram Ali

Reputation: 835

  1. Go to the project view. (Short cut key: Command-1)
  2. Select the project to see its summary.
  3. Under iOS Application Target, there should be a Deployment Target.
  4. Select the version 3.1.3 or whatever the desired minimum version.

Upvotes: 0

Related Questions