views:

102

answers:

2

I have been developing test builds of an app for some time and have deployed through iTunes successfully until now, with iTunes 10.

At the same time I am getting a strange warning in Xcode during the build. It is:

  • warning: building with 'Targeted Device Family' set to iPhone only ('1') not supported with SDK 'Device - iPhone OS 3.2'.

My target SDK is 3.1.3, base is 3.2. If I change the base to 4.0 the warning goes away. In either case the app's .ipa is recognized by iTunes, accepted, asks if I want to replace the existing app in iTunes. BUT, a synch does not move the app to the device, without any error or warnings.

Any help greatly appreciated.

+1  A: 

SDK 3.2 if for iPad development (or for Universal apps). For iPhone only use 4.0 (or maybe 4.1 tomorrow).

hotpaw2
Switching to base of 4.0 removes the build warning, but still does not get the app onto a device (via iTunes).
DwardoX
A: 

At some point iTunes has started requiring that the bundle version number be increased from the installed app. Once I started doing this in the info.plist of the app, the installation proceeds as expected.

DwardoX