[TIMOB-24065] iOS: Using `--build-only` forces Development team to be required for builds
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-10-25T01:46:41.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | Release 6.0.0 |
Components | iOS, Tooling |
Labels | qe-6.0.0 |
Reporter | Eric Wieber |
Assignee | Chris Barber |
Created | 2016-10-21T21:18:00.000+0000 |
Updated | 2016-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
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 invokingxcodebuild
. 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
intoxcodebuild
and make it happy.APPROVED!
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*PR: https://github.com/appcelerator/titanium_mobile/pull/8535