Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

medasmx

macrumors member
Original poster
Nov 9, 2008
89
0
I get the following message when I try to install programs from a book onto my iPhone --

"The Info.plist for application at /Users/adammartin/HypnoTime/build/Debug-iphoneos/HypnoTime.app specifies a minimum OS version of 4.0, which is too high to be installed on Adam Martin’s iPhone."

My iPhone is old (late 2007) but I downloaded the latest software update. Possibly I am doing something wrong in the process of getting a provisioning profile. I don't know.

Any help is appreciated.

Adam
 
info-plist

Below is my plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleDisplayName</key>
	<string>${PRODUCT_NAME}</string>
	<key>CFBundleExecutable</key>
	<string>${EXECUTABLE_NAME}</string>
	<key>CFBundleIconFile</key>
	<string></string>
	<key>CFBundleIdentifier</key>
	<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>${PRODUCT_NAME}</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>1.0</string>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSMainNibFile</key>
	<string>MainWindow</string>
</dict>
</plist>

I suppose this part "<key>LSRequiresIPhoneOS</key>" is the problem? I have downloaded iOS 4.02 and the latest XCode. Also updated my iPhone.

I appreciate your response. Adam
 
Thanks

Appreciate the help, Luke.

Looks like the problem was the deployment target. For my phone it is 3.1.3. It doesn't seem to matter what the base SDK is set as.

Thanks, again.

Adam
 
It doesn't seem to matter what the base SDK is set as.

  • Base SDK defines the APIs that are available for use.
  • Deployment target defines the minimum SDK version that will run your software.

Typically 'Base SDK' is set to the latest SDK, whereas the 'Deployment target' depends upon whether there are APIs that are mandatory for your App, or whether you can gracefully degrade for older software versions.

There are various techniques for checking whether APIs are supported, including NSClassFromString, and class methods such as 'canSendMail' etc. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.