In Xcode 4.2, I create a completely new Single View Application iPhone, it only displays a gray screen.
When I create the application, I get a 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:
- Architecture: armv6, armv7
- Base SDK: Latest iOS (iOS 5.0)
- IOS Deployment Goal: iOS 3.0
Values Required device parameters in Info.plist: armv6, armv7 .
I make an Ad-Hoc distribution of the application (this application only shows a gray screen) and puts it in iTunes.
- When I installed the application on 2 iPhone4 (I have iOS 4, which has iOS 5), it works fine.
- When I installed the application on the iPhone 3GS (having iOS 4), it works fine.
- But
when I try to install the application in 2 iPhone 3G (I have iOS 4.2.1, I have iOS 3.0)
The application was not installed, and I received this message.
The SingleViewApplication application was not installed on the iPhone XXXXX because it is not compatible with this iPhone.
Do you know how to get iPhone 3G to run applications using Xcode 4.2?
source share