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

1k views Asked by At

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)

2

There are 2 answers

0
cduhn On BEST ANSWER

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.

3
Nava Carmon On

Did you check other projects, libraries, that are included in your project, that they all compiled/linked with the same Base SDK & Deployment target version? I had same problem, till I realized, that I had a library that was built with a higher version.