Registers a new device to the Apple Dev Portal
This will register an iOS device with the Developer Portal so that you can include it in your provisioning profiles.
This is an optimistic action, in that it will only ever add a device to the member center. If the device has already been registered within the member center, it will be left alone in the member center.
The action will connect to the Apple Developer Portal using the username you specified in your
apple_id, but you can override it using the
register_device( name: "Luka iPhone 6", udid: "1234567890123456789012345678901234567890" ) # Simply provide the name and udid of the device
register_device( name: "Luka iPhone 6", udid: "1234567890123456789012345678901234567890", team_id: "XXXXXXXXXX", # Optional, if you"re a member of multiple teams, then you need to pass the team ID here. username: "firstname.lastname@example.org" # Optional, lets you override the Apple Member Center username. )
||Provide the name of the device to register as|
||Provide the UDID of the device to register as|
||The ID of your Developer Portal team if you're in multiple teams||*|
||The name of your Developer Portal team if you're in multiple teams||*|
||Optional: Your Apple ID||*|
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action register_device