Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4441] 'Package iOS iTunes Store' uses Xcode-beta.app instead of Xcode.app

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2016-09-11T16:50:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterThomas Wiesen
AssigneeChris Barber
Created2016-09-09T10:10:34.000+0000
Updated2016-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

FileDateSize
Bildschirmfoto 2016-09-09 um 11.21.46.png2016-09-09T10:10:38.000+0000115756

Comments

  1. Thomas Wiesen 2016-09-09

    Works correctly after deleting Xcode-beta.app. However I still think that this is a bug in Titanium.
  2. Sharif AbuDarda 2016-09-09

    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.
  3. Hans Knöchel 2016-09-11

    [~cbarber] [~kkolipaka] Is that something in our CLI / Studio that we can improve? Or is it too "edge-casy"?
  4. Chris Barber 2016-09-11

    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.

JSON Source