Search code examples
iphonedeployment-targetminimumosversion

What could cause my MinimumOSVersion to be different than my Deployment Target?


I'm building my iPhone app under SDK 3.1.3. My Base SDK and iPhone OS Deployment Target are both set to OS 3.0, but when I build, the info.plist in my bundle shows a MinimumOSVersion of 3.1.3. What could cause this?


(source: skitch.com)


Solution

  • I was ultimately able to solve this problem by switching my iPhone OS Deployment Target to some other version (e.g. 3.1), building, then switching it back to 3.0 and building again. Somehow this coerced XCode into behaving as documented. I don't really know why this fixed the issue, but it did. Perhaps it resolved some kind of corruption somewhere inside the .xcodeproj.