daviswhitehead/shayr-app

steps taken to setup new computer to build and ship shayr

Closed this issue · 0 comments

shayr setup steps

  1. Follow steps here
    https://facebook.github.io/react-native/docs/getting-started
  • React Native CLI Quickstart
  • Development OS
  • iOS & Android
  1. Get environments files
    https://drive.google.com/open?id=1KRu7qR_dB7LldVmDpYQa4JMxmfK1H8IQ
  • Make sure .dotfiles have dots. They may have gotten renamed during download
  1. Run npm install
  • Also had to run npm audit fix to get past “Error: Could not find iPhone X simulator”
  1. Install Cocoapods
    https://guides.cocoapods.org/using/getting-started.html

  2. Update workspace settings

  1. Uncheck parallel build settings

  2. Require Only App-Extension-Safe API needs to be set to No for any pod target that is failing

  1. Was missing Fabric and Crashlytics headers in Pods/Headers/Public

  2. Missing JavaScriptCore.framework Library
    facebook/react-native#23183

ANDROID

  1. react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
    https://medium.com/@adityasingh_32512/solved-unable-to-load-script-from-assets-index-android-bundle-bdc5e3a3d5ff

DISTRIBUTION

iOS

fastlane match
fastlane match development
fastlane match appstore

ANDROID
https://facebook.github.io/react-native/docs/signed-apk-android

  • Key needs to be the same as the one used for previous releases