Add CI post clone script
This commit is contained in:
parent
9acf5b7866
commit
65d10fef5b
@ -41,7 +41,7 @@
|
|||||||
</Testables>
|
</Testables>
|
||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
buildConfiguration = "Debug"
|
buildConfiguration = "Release"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
launchStyle = "0"
|
launchStyle = "0"
|
||||||
|
19
ios/ci_scripts/ci_post_clone.sh
Executable file
19
ios/ci_scripts/ci_post_clone.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user