Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24065] iOS: Using `--build-only` forces Development team to be required for builds

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-10-25T01:46:41.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.0.0
ComponentsiOS, Tooling
Labelsqe-6.0.0
ReporterEric Wieber
AssigneeChris Barber
Created2016-10-21T21:18:00.000+0000
Updated2016-12-07T05:11:08.000+0000

Description

Building project with --build-only throws a signing error for projects:
[ERROR] Error details: Signing for "diffClassic" requires a development team. Select a development team in the project editor.
[ERROR] Error details: Code signing is required for product type 'Application' in SDK 'iOS 10.0'
*Steps to reproduce issue*: 1. Create a new project 2. Build the project for iOS sim, with --build-only *Expected Results*: The app builds without issue *Actual Results* The build fails with the above error

Comments

  1. Chris Barber 2016-10-21

    The problem is when you specify --build-only, the build does not validate or auto-select an iOS Simulator and thus does not specify a -destination <dest> when invoking xcodebuild. This apparently was OK in Xcode 7.x, but not in Xcode 8. The solution is to auto-select a simulator so that we can pass a -destination into xcodebuild and make it happy.
  2. Chee Kiat Ng 2016-10-25

    APPROVED!
  3. Josh Longton 2016-10-25

    Verified as fixed; Now specifying --build-only will not throw the error above and build successfully. *ENV* {noformat} MacOS 10.12 Ti SDK 6.0.0.v20161024184632 Appc NPM 4.2.8-9 Appc CLI 6.0.0-64 Alloy 1.9.3 Xcode 8.0 (8A218a) Node 4.4.7 {noformat} *Closing*
  4. Chris Barber 2016-12-07

    PR: https://github.com/appcelerator/titanium_mobile/pull/8535

JSON Source