[TIMOB-27358] iOS: Support Apple Developer certificates
GitHub Issue | n/a |
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-09-09T10:05:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.2.0 |
Components | CLI, iOS |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2019-08-27T10:44:05.000+0000 |
Updated | 2019-09-09T10:05:09.000+0000 |
Description
Description
Apple has introduced a new "Apple Developer" certificate that encompasses signing for iOS, MacOS, tvOS, and WatchOS applications. I believe this was the root cause of TIMOB-27330.
Places we need to update:
Titanium CLI/SDK:
ioslib@v1 - update cert.js to also scan for "Apple Development" and "Apple Distribution"
Daemon:
ioslib@v2 & v3: Update the regex to include "Apple Development" and "Apple Distribution"
Studio:
Might need to update the property it uses from the cert object to display in the UI, currently it's possible for two certs to share an identical name
i.e. Ewan Harris (EH123J4ST56)
, so only one appears to be added to the cert list, the only way to differentiate is via the fullname
i.e. Apple Distribution: Ewan Harris (EH123J4ST56)} vs {{iPhone Distribution: Ewan Harris (EH123J4ST56)
Comments
JSON Source
This might have an impact on Studio as it might need to use a different name on the certs
ioslib 1_7_X (included in SDK): https://github.com/appcelerator/ioslib/pull/93 ioslib 2_X (included in appc cli): https://github.com/appcelerator/ioslib/pull/94 ioslib master: https://github.com/appcelerator/ioslib/pull/95 Once 1_7_X is merged work can start on the SDK support. Once 2_X is merged a new CLI will need to be published
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/11188 Need to file a ticket to have Studio prefer "fullname"
Published ioslib 1.7.12, 2.5.1, and 3.2.2.
FR Passed, waiting on Jenkins build.
Merged to master for 8.2.0
Verified the fix in SDK 8.2.0.v20190903100931. Closing.
Re-opening. When distributing with an iPhone cert the apple cert seems to be used instead.
*Test Steps*
Have both iphone and Apple Certs
Run the following command
Select the iphone distribution cert
[~smohammed] It sounds like you need to add the Apple Distribution cert to the provisioning profile.
Ok lets try this again PR: https://github.com/appcelerator/titanium_mobile/pull/11198 I need to file a PR to update the watchos sample as that is outdated and doesn't have the required things to pass along provisioning profiles correctly
PR merged for Master, will be merged in 8_3_X at a later date.
*Closing ticket* Improvement verified in SDK version
8.2.0.v20190906140307
. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11198 https://github.com/appcelerator/titanium_mobile/pull/11188