Steps to Reproduce
* Build an using cli
* Open the app in Xcode (build/iphone/
.xcodeproject)
* Try building the project for device.
Actual Result.
Build fails with the following output
[INFO] : tiapp.xml <sdk-version> set to 3.3.0.v20140524224144, but current Titanium SDK set to 3.3.0
[INFO] : Forking correct SDK command: "/usr/local/bin/node" "/usr/local/bin/ti" "build" "--sdk" "3.3.0.v20140524224144" "--no-prompt" "--no-banner" "--build-only" "--xcode" "--config-file" "/Users/sabilrahim/.titanium/config.json" "--platform" "iphone" "--project-dir" "/Users/sabilrahim/titaniumworkspace/instrumentstest" "--log-level" "trace" "--distribution-name" "iPhone Developer" "--ios-version" "7.1" "--target" "device"
[ERROR] : Missing required option: --developer-name <name>
[ERROR] : Missing required option: --pp-uuid <uuid>
Expected Result
The app builds successfully and runs on device.
Notes.
There seems two problems here.
1. The SDK version in the pre compile command is hard coded.
2. The env variable is not being passed in correctly.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5737 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5738 To test, connect an iOS device, build an iOS app for device (--build-only if you want to save some time), then open the Xcode project and build for device.
Here's the related Q&A ticket: http://developer.appcelerator.com/question/161067/trying-to-archive-for-ad-hoc-but-gets-error-i-xcode---developer-name----pp-uuid
Verified fixed on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140603152512 Titanium CLI, build: 3.3.0-beta Alloy: 1.4.0-beta Xcode: 5.1.1 iOS Device: iPhone 5S (7.1.1) Followed test steps provided by Chris, application built to device from Xcode successfully. Closing.