diff --git a/.github/workflows/app_prod.yaml b/.github/workflows/app_prod.yaml index 3049984d..b3979c7a 100644 --- a/.github/workflows/app_prod.yaml +++ b/.github/workflows/app_prod.yaml @@ -158,7 +158,7 @@ jobs: - name: Install the provisioning profile run: | PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision - echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode --output $PP_PATH + echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode -o $PP_PATH mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles env: @@ -201,6 +201,11 @@ jobs: pod install --repo-update working-directory: source/examples/Basic/ios + - name: Apply Patches + run: | + patch -p0 < *.patch + working-directory: source/examples/Basic/patches + - name: Build resolve Swift dependencies run: | xcodebuild -resolvePackageDependencies -workspace ios/Basic.xcworkspace -scheme BasicProduction -configuration Release @@ -278,7 +283,7 @@ jobs: - name: Install the provisioning profile run: | PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision - echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode --output $PP_PATH + echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode -o $PP_PATH mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles env: @@ -321,6 +326,11 @@ jobs: RCT_NEW_ARCH_ENABLED=0 SWIFT_VERSION=5 pod install --repo-update working-directory: source/examples/TestNamiTV/ios + - name: Apply Patches + run: | + patch -p0 < *.patch + working-directory: source/examples/TextNamiTV/patches + - name: Build resolve Swift dependencies run: | xcodebuild -resolvePackageDependencies -workspace ios/Basic.xcworkspace -scheme Basic-tvOS-PROD -configuration Release diff --git a/.github/workflows/app_stg.yaml b/.github/workflows/app_stg.yaml index 7d159410..597d3107 100644 --- a/.github/workflows/app_stg.yaml +++ b/.github/workflows/app_stg.yaml @@ -158,7 +158,7 @@ jobs: - name: Install the provisioning profile run: | PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision - echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode --output $PP_PATH + echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode -o $PP_PATH mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles env: @@ -201,6 +201,11 @@ jobs: pod install --repo-update working-directory: source/examples/Basic/ios + - name: Apply Patches + run: | + patch -p0 < *.patch + working-directory: source/examples/Basic/patches + - name: Build resolve Swift dependencies run: | xcodebuild -resolvePackageDependencies -workspace ios/Basic.xcworkspace -scheme Basic -configuration Release @@ -278,7 +283,7 @@ jobs: - name: Install the provisioning profile run: | PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision - echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode --output $PP_PATH + echo -n "$PROVISIONING_CERTIFICATE_BASE64" | base64 --decode -o $PP_PATH mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles env: @@ -321,6 +326,11 @@ jobs: RCT_NEW_ARCH_ENABLED=0 SWIFT_VERSION=5 pod install --repo-update working-directory: source/examples/TestNamiTV/ios + - name: Apply Patches + run: | + patch -p0 < *.patch + working-directory: source/examples/TestNamiTV/patches + - name: Build resolve Swift dependencies run: | xcodebuild -resolvePackageDependencies -workspace ios/Basic.xcworkspace -scheme Basic-tvOS -configuration Release diff --git a/examples/Basic/patches/yoga-compilation-fix.patch b/examples/Basic/patches/yoga-compilation-fix.patch new file mode 100644 index 00000000..68fded17 --- /dev/null +++ b/examples/Basic/patches/yoga-compilation-fix.patch @@ -0,0 +1,11 @@ +--- ../node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp.orig 2024-07-10 13:35:29 ++++ ../node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp 2024-07-10 11:54:48 +@@ -2229,7 +2229,7 @@ + depth, + generationCount); + node->setLayoutHadOverflow( +- node->getLayout().hadOverflow() | ++ node->getLayout().hadOverflow() || + currentRelativeChild->getLayout().hadOverflow()); + } + return deltaFreeSpace; diff --git a/examples/TestNamiTV/patches/hash-unary-function.patch b/examples/TestNamiTV/patches/hash-unary-function.patch new file mode 100644 index 00000000..2198be0a --- /dev/null +++ b/examples/TestNamiTV/patches/hash-unary-function.patch @@ -0,0 +1,11 @@ +--- ../ios/Pods/boost/boost/container_hash/hash.hpp.orig.hpp 2024-07-10 14:24:31 ++++ ../ios/Pods/boost/boost/container_hash/hash.hpp 2024-07-10 14:25:23 +@@ -128,7 +128,7 @@ + }; + #else + template +- struct hash_base : std::unary_function {}; ++ struct hash_base : std::__unary_function {}; + #endif + + struct enable_hash_value { typedef std::size_t type; };