[TIMOB-14094] iOS: Allow configurable build-type definition for adhoc builds
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-09-02T05:56:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | build, cli, ios |
Reporter | Carter Lathrop |
Assignee | Eric Merriman |
Created | 2013-05-27T03:50:59.000+0000 |
Updated | 2017-03-21T22:53:00.000+0000 |
Description
I want to push adhoc builds to testflight with the development environment enabled so I can have testers enter data in development ACS environment. Currently the _build.js has "production" hard coded if you do dist-adhoc. I have fixed by modifying it locally, but seems like it should be a CLI option.
Changing _build.js to not use the "production" deploy type won't work for push notifications. Since you have to use a Distribution Certificate to produce Ad-Hoc builds, those builds will use production device tokens which will not get push notifications from the APNs sandbox, even if you try to subscribe those production tokens to the APNs sandbox.
Dupe of TIMOB-13396.
Closing ticket as duplicate with reference to the above comments.