File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
.github/actions/build-app Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 8080 yarn add ${{ inputs.module-to-install }}
8181 fi
8282
83+ if [[ '${{ inputs.platform }}' == 'ios' ]]; then
84+ # Use xcode 16 for RN 0.80+
85+ if [[ '${{ inputs.rn-ver }}' == "0.8"* || "${{ inputs.rn-ver }}" == "latest" ]]; then
86+ sudo xcode-select --switch /Applications/Xcode_16.2.app/Contents/Developer
87+ fi
88+ fi
89+
8390 # Debug info
8491 npx @react-native-community/cli info
8592
@@ -100,6 +107,11 @@ runs:
100107 sed -i 's/newArchEnabled=false/newArchEnabled=true/' android/gradle.properties
101108 fi
102109
110+ # Fix: generate codegen artifacts for RN 0.80 only
111+ if [[ '${{ inputs.rn-ver }}' == "0.80"* ]]; then
112+ ./android/gradlew generateCodegenArtifactsFromSchema -p android
113+ fi
114+
103115 # Build Android
104116 ./android/gradlew assembleRelease --no-daemon -p android -PreactNativeArchitectures=${{ inputs.arch }}
105117
You can’t perform that action at this time.
0 commit comments