Utilizing react native (0.73.7). Have been efficiently utilizing React native -> Xcode (15.3, native) construct+archive+distribute -> TestFlight workflow to check my iOS app.
In the present day I attempted establishing Xcode Cloud (makes use of Xcode 16.1) workflow. Discovered some widespread errors, involving post-clone.sh and so forth and eventually the Xcode Cloud construct was profitable.
With this construct, when put in through TestFlight, the app opens with the same old welcome display screen, the place there’s a button for the second display screen. Nonetheless, the app crashes upon clicking this button. No explicit error message, besides that the App crashed. Simply to confirm that my code shouldn’t be damaged, I efficiently examined the app as regular in native Xcode (Model 15.3) Simulator in addition to putting in by way of my earlier handbook Xcode construct/archive/distribute workflow.
I’m a bit clueless as to what’s going improper with the Xcode Cloud setup.
Word: one factor I’ve observed, in my native setting, my node model is nineteen.8.1 whereas on Xcode Cloud through post-clone script, it installs the newest node. However that didn’t lead to any construct or archive failures.
If anybody has gone by way of comparable drawback, would love some inputs.
Thanks upfront to your time!
ci_post_clone.sh
# Navigate to the undertaking root
cd ../../
echo "===== Installling CocoaPods ====="
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
brew set up cocoapods
echo "===== Putting in Node.js ====="
brew set up node
# Set up dependencies
echo "===== Working yarn set up ====="
npm set up
CI="true" npx expo prebuild
echo "===== Working pod set up ====="
cd ios
pod set up