Package Exports
- react-native-expo-turtle-build-and-upload
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-expo-turtle-build-and-upload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Native Expo Turtle Build & Upload
Developed with ♥ and sponsored by Polyglot and Happii LLC.
react-native-expo-turtle-build-and-upload is a set of GNU Make targets for building and uploading React Native application releases for iOS and Android. It exposes a GNU Make file build-and-upload
in the directory node_modules/react-native-expo-turtle-build-and-upload
which you must include in your project's makefile
.
Requirements
- A React Native application bootstrapped via
expo init
. - Xcode Command Line Tools (
xcode-select --install
). - [fastlane][fastlane] (
brew install fastlane && brew link fastlane
).
Installation & Setup
npm
npm install react-native-expo-turtle-build-and-upload --save-dev
yarn
yarn add react-native-expo-turtle-build-and-upload --dev
environment variables
CERTIFICATE_ROOT
: directory containingios_distribution.mobileprovision
andios_distribution.p12
.EXPO_USERNAME
: Expo account username.EXPO_PASSWORD
: Expo account password.EXPO_APPLE_TEAM_ID
: Apple Team ID - (a 10-character string likeQ2DBWS92CA
).EXPO_IOS_DIST_P12_PASSWORD
: iOS Distribution Certificate password.IOS_APP_UPLOAD_USERNAME
: Apple Developer account username.IOS_APP_UPLOAD_PASSWORD
: Apple Developer account application-specific password.EXPO_SDK_VERSION
: Expo SDK version of your app.
add the following line to your makefile
include build-and-upload
In order for include build-and-upload
to work, the I dir
or --include-dir=dir
option must be used or the build-and-upload
file must be located in the (prefix)/include
directory which is /usr/local/include
by default.
make -I node_modules/react-native-expo-turtle-build-and-upload [ targets ] ...
Usage
build ios_distribution.ipa
for the app store
make -I node_modules/react-native-expo-turtle-build-and-upload turtle-ios-build
upload ios_distribution.ipa
to the app store
make -I node_modules/react-native-expo-turtle-build-and-upload to-appstore
Available Targets
turtle-ios-build
to-appstore
Reference
Inspiration
Alternatives
- N/A