• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

Trying to install my app to iPhone 2.2.1, but it fail with following message:
Cantinstallapp.jpg

The Info.plist for application at /Users/satoko/repos/ezPhotoMail/build/Debug-iphoneos/ezPhotoMail.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:

  1. I deleted below:
  • second-target
  • second-Info.plist(used in second-target)
  1. Then clean up caches:
  • Clear target
  • Close the project
  • delete build directory
  1. re-open the project and build/run with my iPhone 2.2.1...
  2. Voila! It worked!
posted by hibi hibi on Fri 19 Jun 2009 at 07:32 with 0 comments