[AC-4441] 'Package iOS iTunes Store' uses Xcode-beta.app instead of Xcode.app
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2016-09-11T16:50:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Thomas Wiesen |
Assignee | Chris Barber |
Created | 2016-09-09T10:10:34.000+0000 |
Updated | 2016-09-11T16:50:58.000+0000 |
Description
Steps to Reproduce
I have both Xcode-beta.app and Xcode.app installed. The Xcode version is set to Xcode.app (see screenshot attached).
While packaging for iOS Adhoc/Enterprise uses - as expected - Xcode.app, packaging for iOS iTunes Store uses Xcode-beta.app.
I am using Titanium SDK 5.5.0.v20160831204306, CLI 5.5.0-5, Studio 4.7.0.201607250649
Actual Result
'Package iOS iTunes Store' uses Xcode-beta.app
Expected Result
'Package iOS iTunes Store' uses Xcode.app
Attachments
Works correctly after deleting Xcode-beta.app. However I still think that this is a bug in Titanium.
Hello, This usually happens when there is two Xcode installed. Production build usually takes the higher version of Xcode. I believe you have higher version of Xcode-beta installed than Xcode version. It's recommended to use one Xcode with Appcelerator. Thanks.
[~cbarber] [~kkolipaka] Is that something in our CLI / Studio that we can improve? Or is it too "edge-casy"?
This is expected behavior. The Xcode path in the Studio preferences has no effect. The selected iOS version is what dictates which Xcode to use. If you select iOS SDK 10.0, then Titanium's build system will find the most suitable version of Xcode that supports iOS SDK 10.0. In this case, the iOS SDK 10.0 is selected and thus it chooses Xcode 8.