Skip to content

Commit

Permalink
fix: arm64 macCatalyst works, with these applied
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed May 12, 2022
1 parent 2de7c73 commit 64457cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if ! which yarn > /dev/null 2>&1; then
exit 1
fi

npm_config_yes=true npx react-native init rnfbdemo --skip-install --version=0.68.1
npm_config_yes=true npx react-native init rnfbdemo --skip-install --version=0.68.2
cd rnfbdemo

# New versions of react-native include annoying Ruby stuff that forces use of old rubies. Obliterate.
Expand Down Expand Up @@ -225,8 +225,8 @@ if [ "$(uname)" == "Darwin" ]; then
echo "Installing pods and running iOS app in release mode"
npx react-native run-ios --configuration "Release"

# Check catalyst build (but not on arm64 because it does not work there yet)
if ! [ "$XCODE_DEVELOPMENT_TEAM" == "" ] && ! [ "${arch_name}" = "arm64" ]; then
# Check catalyst build
if ! [ "$XCODE_DEVELOPMENT_TEAM" == "" ]; then

echo "Adding macCatalyst entitlements file / build flags to Xcode project"
cp ../rnfbdemo.entitlements ios/rnfbdemo/
Expand Down

0 comments on commit 64457cd

Please sign in to comment.