I've searched here, read 9 answers that don't apply, validated my settings, checked them manually, cleaned, rebuilt and archived. I've also tried adding armv6 to Deployment Targets, same thing. The app runs fine on physical Iphone 4 and 5 devices, but I can't publish it...
Dependency Analysis Warning: iOS deployment targets lower than 4.3 are not supported (current IPHONEOS_DEPLOYMENT_TARGET = "4.0", ARCHS = "armv7").
(NOTE: After some thinking and testing, the basic problem is at the bottom of this question.)
Build Settings:
Architectures: Standard (armv7, armv7s)
Base SDK: Latest (iOS 7.0)
Supported platforms: iOS
iOS Deployment Target: iOS 5.1
Targeted Device Family: iPhone
Info.plist:
Iphone environment: Yes
no deployment target entry (which is what caused the warning in the linked answers)
But I still get the warning.
As you can see, this different from the Build Settings. I click the warning, but it doesn't tell me what could tell XCode to override the Build Settings, so I can do nothing about that.
How do I begin to fix this, where to look, what to check?
EDIT: In other words, this and this doesn't apply, since I don't build for deployment target lower than 4.3. I just need XCode to use the actual deployment target and architectures set in Build Settings.
UPDATE: So this is the issue I seem to be having: I added Required Device Capabilities armv7 (only) in the info.plist, and Apple forbids me to introduce such a requirement for apps that didn't have them (users couldn't upgrade). But then it would be nice of Apple to let me build for such users...
Unless it's just the bit about XCode not reading the targets right that prevents me from doing so.
--> So the question becomes: is there a way to force set IPHONEOS_DEPLOYMENT_TARGET to something >= 4.3?