19th
Fri
Xcode 3.1.3(with SDK iPhone 3.0 GM Seed) Error "Can't install application" with iPhone 2.2.1 - Fixed
Trying to install my app to iPhone 2.2.1, but it fail with following message:
The Info.plist
for applicatio n at /Users/sat oko/repos/ ezPhotoMai l/build/De bug-iphone os/ezPhoto Mail.app specifies a minimum OS version of 3.0, which is too hight to be installed on satoko の iPhone
Check the Base SDK in target
If "Base SDK" is set to "iPhone Device 3.0", it could no be installed to iPhone 2.2.1 or former. But My target's "Base SDK" was OK.
Two target, two Info.plist
Then suddenly my instincts tells me: Wait, there's another *.plist file for second target!
Well, there's two targets in this project: currently selected target's Base SDK is "iPhone Device 2.2.1" , the other one's is "iPhone Device 3.0".
Maybe that's the problem, I thought. Here's my action:
- I deleted below:
- second-tar
get - second-Inf
o.plist(used in second-tar get)
- second-tar
- Then clean up caches:
- Clear target
- Close the project
- delete build directory
- re-open the project and build/run with my iPhone 2.2.1...
- Voila! It worked!
posted by
hibi
on Fri 19 Jun 2009
at 07:32