20 lines
553 B
Bash
Executable File
20 lines
553 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
|
|
brew install cocoapods
|
|
# have to add node yourself
|
|
brew install node@16
|
|
# link it to the path
|
|
brew link node@16
|
|
|
|
brew install yarn
|
|
|
|
# Install dependencies you manage with CocoaPods.
|
|
yarn
|
|
pod install
|
|
# the sed command from RN cant find the file... so we have to run it ourselves
|
|
sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' /Volumes/workspace/repository/ios/Pods/RCT-Folly/folly/portability/Time.h
|
|
|
|
# Source: https://zach.codes/xcode-cloud-react-native-setup/#rn-664-update
|
|
|