February 2018
Intermediate to advanced
346 pages
9h 56m
English
Adding new devices to the development or ad hoc profile is another trivial process, thanks to match. The easiest way is to create a comma-delimited set of devices you want to maintain and store it in the private Git repo. You can create a devices.txt file, consisting of your device IDs and names, as shown here:
Device ID Device Name A123456789012345678901234567890123456789 DEVICE_NAME_1 B123456789012345678901234567890123456789 DEVICE_NAME_2
In future, all you need to do is maintain this text file and add/remove entries as necessary. You would then add the following, prior to calling the match in the Fastfile:
lane :development do register_devices(devices_file: "devices.txt") match(type: "development", force_for_new_devices: ...
Read now
Unlock full access