Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.07 KB

BUILDING.md

File metadata and controls

23 lines (15 loc) · 1.07 KB

Building the app

NOTE: The build steps here are only temporary steps untill we have our pipeline in place.

Table of contents

  1. Building iOS
  2. Building Android

Building iOS

NOTE: This step can only build an iOS-.app file that can only be used on a simulator!

Making an iOS build can be done by running the following command yarn ios.release.sim.build. The output can be found in the XCODE DerivedData-folder, which can look like this /Users/{username}/Library/Developer/Xcode/DerivedData/SwagLabsMobileApp-{string}/Build/Products/

Building Android

The keystore is saved in this project. This is normally not a good advice, but this project isn't publishing to the Play Store so all data is filled with dummy data. This allows us to make a signed build.

Making an Android build can be done by running the following command yarn android.release. It will take a few minutes to build a release.

The output can be found in android/app/build/outputs/apk/release/app-release.apk