react-native-setdevteam
Set the development team for the iOS arm of your React Native project.
This is useful for deployment, but even before that it is critical for either 1) using Apple Push Notification Service or 2) testing on devices at all.
Finally, freedom from simulators without opening xcode!
Installation
yarn add react-native-setdevteam# or: npm i --save react-native-setdevteam
Usage
1. Add a development team
First-time use:
yarn add react-native-setdevteamreact-native setdevteamScanning folders
In the future, packages can get your saved default development team non-interactively by running
react-native setdevteam
Select from a list by adding interactive mode:
react-native setdevteam --interactive
Note the development team you selected for this project will be saved in your package.json
as xcodeDevTeam
.
Also note that running react-native setdevteam
without the --interactive
flag will also use the xcodeDevTeam
value, if available.
Updated For React >=0.60
No changes are required for use - same react-native setdevteam
as before