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!
yarn add react-native-setdevteam# or: npm i --save react-native-setdevteam
1. Add a development team
yarn add react-native-setdevteamreact-native setdevteamScanning folders
In the future, packages can get your saved default development team non-interactively by running
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
2. Keeping the team in synch
xcodeDevTeam value has been set, you can make sure the team gets re-applied to your project consistently by running:
Also note that running
react-native setdevteam without the
--interactive flag will also use the
xcodeDevTeam value, if available.