This project is a fastlane plugin. To get started with fastlane-plugin-retrieve_devices
, add it to your project by running:
fastlane add_plugin retrieve_devices
retrieve all devices registered to your apple certrificate
This is a fastlane plugin which will provide an action to retrieve a list of names and UDIDs of each device registered with your Apple Certificate. This list is exactly the same as the list used to compare against what is/isn't registered in the register_device/s
action.
In the relevant fastlane lane
, call retrieve_devices()
where required.
The output can be accessed with lane_context[SharedValues::DEVICES_FOR_APPLE_CERTIFICATE]
the retrieve_devices
plugin is able to be used the same as usual plugins.
Run fastlane run retrieve_devices
for an output of the devices attached to your fastlane certificate.
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
Note to author: Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
Key | Description | Env Var(s) |
---|---|---|
api_key_path |
Path to your App Store Connect API Key JSON file | FL_RETRIEVE_DEVICES_API_KEY_PATH |
api_key |
Your App Store Connect API Key information | APP_STORE_CONNECT_API_KEY |
username |
Optional: Your Apple ID | DELIVER_USER |
Key | Description |
---|---|
DEVICES_FOR_APPLE_CERTIFICATE |
A hash with the Name and UDID of each device registered with Apple |
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.