Created
April 27, 2020 07:21
-
-
Save 0x1bitcrack3r/e205ef8043f254ef23d201977f91e707 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Command for building android application(release version) and installing in android device for react-native applications | |
cd android && ./gradlew clean && ./gradlew assembleRelease && cd app/build/outputs/apk/ && adb install app-release.apk && cd ../../../../../ | |
#Command for building iOS application (appname.archive=>appname.ipa) where appname.ipa can be installed in iOS device | |
xcodebuild -workspace <ProjectName>/<ProjectName>.xcworkspace -scheme <schemeName> clean archive -configuration release -sdk iphoneos -archivePath <ProjectName>.xcarchive | |
&& xcodebuild -exportArchive -archivePath <ProjectName>.xcarchive -exportOptionsPlist <ProjectName>/exportOptions.plist -exportPath <ProjectName>.ipa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment