- Run
yarn npm-reinstall
- Run
yarn pod-reinstall
- Run
yarn generate:stubs
to generate all stubs required by the app - Run
yarn generate:bus-lta
to generate bus routes and services information from LTA - Run
yarn generate:bus-onemap
to generate bus route polyline from OneMap - Run
yarn generate:bus-searchable
to generate list for searchable bus information
Some of the tokens and credentials are not supposed to share with you. Hence, you will required to provide your own secrets. To generate the app.secret.js
template, run yarn generate:secret
- Run
yarn generate:stubs
to update latest stubs - Open
SGBus.xcworkspace
with Xcode - Select
SGBus
project, chooseGeneral
tab, increaseVersion
andBuild
- Choose the destination to
Generic iOS Device
- Select
Product
>Archive
- Run
yarn npm-reinstall
- Run
yarn pod-reinstall
- Open
SGBus.xcworkspace
with Xcode - Select
SGBus
project, chooseBuild Phases
tab, delete[CP] Embeded Pods Frameworks
- Open
File
>Workspace Settings
, change Build System toLegacy Build System
- Select
Pods
project, deleteReact
inTargets
- Run
yarn generate:stubs
to update latest stubs - Open
android
folder with Android Studio - Open
build.gradle
inapp
folder, increaseversionCode
andversionName
- Run
KEY=youkeystorepassword yarn android:release
- Locate
app.aab
inandroid/app/build/outputs/bundle/release
folder