From 0932ebc97c294d184da89ed6a005633914dbf43a Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Tue, 9 Apr 2024 20:39:07 +0900 Subject: [PATCH] fix: ios ci --- .github/workflows/ci.yml | 2 +- example/ios/Podfile.lock | 8 +------- example/package.json | 1 + 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e02c7f..6f49d97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: - name: Install Dependencies run: yarn - name: Install Podfiles - run: cd example && npx pod-install + run: cd example && yarn pod - name: Build example app run: yarn ios # windows: diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 4087d81..a11435d 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1025,8 +1025,6 @@ PODS: - React-Core - React-jsi - ReactTestApp-Resources (1.0.0-dev) - - RNCClipboard (1.13.2): - - React-Core - SocketRocket (0.6.1) - Yoga (1.14.0) @@ -1082,7 +1080,6 @@ DEPENDENCIES: - "ReactNativeHost (from `../../node_modules/@rnx-kit/react-native-host`)" - ReactTestApp-DevSupport (from `../../node_modules/react-native-test-app`) - ReactTestApp-Resources (from `..`) - - "RNCClipboard (from `../node_modules/@react-native-clipboard/clipboard`)" - Yoga (from `../../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: @@ -1189,8 +1186,6 @@ EXTERNAL SOURCES: :path: "../../node_modules/react-native-test-app" ReactTestApp-Resources: :path: ".." - RNCClipboard: - :path: "../node_modules/@react-native-clipboard/clipboard" Yoga: :path: "../../node_modules/react-native/ReactCommon/yoga" @@ -1245,10 +1240,9 @@ SPEC CHECKSUMS: ReactNativeHost: 339df34d3c2050f37e8909ade6693465e8a947f7 ReactTestApp-DevSupport: 1fe22a4a29414ec3227d20b3eb96217ba1ff13d0 ReactTestApp-Resources: 857244f3a23f2b3157b364fa06cf3e8866deff9c - RNCClipboard: 60fed4b71560d7bfe40e9d35dea9762b024da86d SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: 805bf71192903b20fc14babe48080582fee65a80 PODFILE CHECKSUM: 58b1b5d965384968b1dd12f033ef182aec4c1b6b -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/example/package.json b/example/package.json index 366299a..f400ea5 100644 --- a/example/package.json +++ b/example/package.json @@ -9,6 +9,7 @@ "build:macos": "npm run mkdist && react-native bundle --entry-file index.js --platform macos --dev true --bundle-output dist/main.macos.jsbundle --assets-dest dist", "build:visionos": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.visionos.jsbundle --assets-dest dist", "build:windows": "npm run mkdist && react-native bundle --entry-file index.js --platform windows --dev true --bundle-output dist/main.windows.bundle --assets-dest dist", + "pod": "pod install --project-directory=ios", "ios": "react-native run-ios", "lint": "eslint .", "macos": "react-native run-macos --scheme Example",