Tuyen Nguyen
Tuyen Nguyen

Reputation: 4479

Apps building with Xcode 4.2 could not be installed in iPhone 3G

I create a brand new Single View Application iPhone app in Xcode 4.2, it only shows the gray screen.

When I build the app, I get the warning:

BWARN]warning: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7").

I followed this SO , this SO and this SO to fix the warning.

My build settings are:

The Required device capabilities values in the Info.plist are armv6, armv7.

I make an Ad Hoc distribution of the app (this app only shows a gray screen) and put it on iTunes.

  1. When I installed the app into 2 iPhone4 (one having iOS 4, one having iOS 5), it works fine.
  2. When I installed the app into iPhone 3GS (having iOS 4), it works fine.
  3. But
    when I try to install the app into 2 iPhone 3G (one having iOS 4.2.1, one having iOS 3.0),
    the app was not installed and I received this message.

The app "SingleViewApplication" was not installed on the iPhone XXXXX because it is not compatible with this iPhone.

Do you know how to make iPhone 3G be able to run apps build with Xcode 4.2?

Upvotes: 7

Views: 2737

Answers (1)

Tuyen Nguyen
Tuyen Nguyen

Reputation: 4479

So I delete the Required device capabilities entry in the Info.plist and the app can be installed in iPhone 3G.

Upvotes: 11

Related Questions