When we started building iPad I realized some of the existing iPhone builds had possibly been calling values like SDKROOT incorrectly, but since there was only one sdk installed it failed silently and fell back to the default sdk. But building iPad and iPhone there's a need to call these values out correctly. From the Apple site, requirements are (quoting):
"To configure Universal apps that run on both iPad and iPhone, in Build Settings:
- set Base SDK in the Architectures section to “iPhone SDK 3.2”
- set iPhone OS Deployment Target to iPhone OS 3.1.3 or earlier
• For iPad-only development, use iPhone SDK 3.2 and target iPhone OS 3.2
• For iPhone-only, use iPhone SDK 3.1.3 and target iPhone OS 3.1.3 or earlier
• Be sure to set Targeted Device Family to iPad, iPhone, or iPhone/iPad"
But what are those values from terminal so we can pass them with Hudson?
Since we aren't building a universal app we currently have this configured in the iPhone build:
SDKROOT=iphoneos3.1.3 IPHONEOS_DEPLOYMENT_TARGET=3.1.3 TARGETED_DEVICE_FAMILY=1
and this in the iPad:
SDKROOT=iphoneos3.2 IPHONEOS_DEPLOYMENT_TARGET=3.2 TARGETED_DEVICE_FAMILY=2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment