diff --git a/.github/workflows/test-ios-spm-helloworld.yml b/.github/workflows/test-ios-spm-helloworld.yml index bf835a8f0fa..75111b35405 100644 --- a/.github/workflows/test-ios-spm-helloworld.yml +++ b/.github/workflows/test-ios-spm-helloworld.yml @@ -85,7 +85,7 @@ jobs: - name: Convert the app to SwiftPM shell: bash working-directory: ${{ env.APP_IOS_DIR }} - run: npx react-native spm add --deintegrate --artifacts /tmp/spm-artifacts --download skip + run: RN_STRICT_API=1 npx react-native spm add --deintegrate --artifacts /tmp/spm-artifacts --download skip - name: Assert the app is on SwiftPM shell: bash working-directory: ${{ env.APP_IOS_DIR }} diff --git a/.github/workflows/test-ios-spm-newapp.yml b/.github/workflows/test-ios-spm-newapp.yml index 62e66395bae..005c841ae20 100644 --- a/.github/workflows/test-ios-spm-newapp.yml +++ b/.github/workflows/test-ios-spm-newapp.yml @@ -96,7 +96,7 @@ jobs: - name: Convert the app to SwiftPM shell: bash working-directory: ${{ env.APP_IOS_DIR }} - run: npx react-native spm add --deintegrate --artifacts /tmp/spm-artifacts --download skip + run: RN_STRICT_API=1 npx react-native spm add --deintegrate --artifacts /tmp/spm-artifacts --download skip - name: Assert the app is on SwiftPM shell: bash working-directory: ${{ env.APP_IOS_DIR }} diff --git a/.github/workflows/test-ios-spm-rntester.yml b/.github/workflows/test-ios-spm-rntester.yml index 60bfbf0d941..f60df4a6a47 100644 --- a/.github/workflows/test-ios-spm-rntester.yml +++ b/.github/workflows/test-ios-spm-rntester.yml @@ -85,7 +85,7 @@ jobs: - name: Convert the app to SwiftPM shell: bash working-directory: ${{ env.APP_IOS_DIR }} - run: npx react-native spm add --deintegrate --artifacts /tmp/spm-artifacts --download skip + run: RN_STRICT_API=1 npx react-native spm add --deintegrate --artifacts /tmp/spm-artifacts --download skip - name: Assert the app is on SwiftPM shell: bash working-directory: ${{ env.APP_IOS_DIR }}