Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 9a0b43a

Browse files
committed
ios back to bundler for pods
1 parent 8b19d6b commit 9a0b43a

File tree

5 files changed

+133
-17
lines changed

5 files changed

+133
-17
lines changed

.github/workflows/build-ios.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,27 @@ jobs:
3131
run: |
3232
bun install
3333
34-
# - name: Restore Pods cache
35-
# uses: actions/cache@v4
36-
# with:
37-
# path: |
38-
# example/ios/Pods
39-
# ~/Library/Caches/CocoaPods
40-
# ~/.cocoapods
41-
# key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
42-
# restore-keys: |
43-
# ${{ runner.os }}-pods-
34+
- name: Setup Ruby (bundle)
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: 3.3
38+
bundler-cache: true
39+
working-directory: example/ios
40+
41+
- name: Restore Pods cache
42+
uses: actions/cache@v4
43+
with:
44+
path: |
45+
example/ios/Pods
46+
~/Library/Caches/CocoaPods
47+
~/.cocoapods
48+
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
49+
restore-keys: |
50+
${{ runner.os }}-pods-
51+
52+
- name: Install Gems
53+
working-directory: example
54+
run: bundle config set deployment 'true' && bundle install
4455

4556
- name: Install Pods
4657
run: bun pods

example/.bundle/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
BUNDLE_PATH: "vendor/bundle"
2-
BUNDLE_FORCE_RUBY_PLATFORM: 1
2+
BUNDLE_FORCE_RUBY_PLATFORM: "1"

example/Gemfile.lock

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
activesupport (7.0.8.4)
9+
concurrent-ruby (~> 1.0, >= 1.0.2)
10+
i18n (>= 1.6, < 2)
11+
minitest (>= 5.1)
12+
tzinfo (~> 2.0)
13+
addressable (2.8.7)
14+
public_suffix (>= 2.0.2, < 7.0)
15+
algoliasearch (1.27.5)
16+
httpclient (~> 2.8, >= 2.8.3)
17+
json (>= 1.5.1)
18+
atomos (0.1.3)
19+
base64 (0.2.0)
20+
claide (1.1.0)
21+
cocoapods (1.14.3)
22+
addressable (~> 2.8)
23+
claide (>= 1.0.2, < 2.0)
24+
cocoapods-core (= 1.14.3)
25+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
26+
cocoapods-downloader (>= 2.1, < 3.0)
27+
cocoapods-plugins (>= 1.0.0, < 2.0)
28+
cocoapods-search (>= 1.0.0, < 2.0)
29+
cocoapods-trunk (>= 1.6.0, < 2.0)
30+
cocoapods-try (>= 1.1.0, < 2.0)
31+
colored2 (~> 3.1)
32+
escape (~> 0.0.4)
33+
fourflusher (>= 2.3.0, < 3.0)
34+
gh_inspector (~> 1.0)
35+
molinillo (~> 0.8.0)
36+
nap (~> 1.0)
37+
ruby-macho (>= 2.3.0, < 3.0)
38+
xcodeproj (>= 1.23.0, < 2.0)
39+
cocoapods-core (1.14.3)
40+
activesupport (>= 5.0, < 8)
41+
addressable (~> 2.8)
42+
algoliasearch (~> 1.0)
43+
concurrent-ruby (~> 1.1)
44+
fuzzy_match (~> 2.0.4)
45+
nap (~> 1.0)
46+
netrc (~> 0.11)
47+
public_suffix (~> 4.0)
48+
typhoeus (~> 1.0)
49+
cocoapods-deintegrate (1.0.5)
50+
cocoapods-downloader (2.1)
51+
cocoapods-plugins (1.0.0)
52+
nap
53+
cocoapods-search (1.0.1)
54+
cocoapods-trunk (1.6.0)
55+
nap (>= 0.8, < 2.0)
56+
netrc (~> 0.11)
57+
cocoapods-try (1.2.0)
58+
colored2 (3.1.2)
59+
concurrent-ruby (1.3.4)
60+
escape (0.0.4)
61+
ethon (0.16.0)
62+
ffi (>= 1.15.0)
63+
ffi (1.17.0)
64+
fourflusher (2.3.1)
65+
fuzzy_match (2.0.4)
66+
gh_inspector (1.1.3)
67+
httpclient (2.8.3)
68+
i18n (1.14.5)
69+
concurrent-ruby (~> 1.0)
70+
json (2.7.2)
71+
minitest (5.24.1)
72+
molinillo (0.8.0)
73+
nanaimo (0.3.0)
74+
nap (1.1.0)
75+
netrc (0.11.0)
76+
nkf (0.2.0)
77+
public_suffix (4.0.7)
78+
rexml (3.3.5)
79+
strscan
80+
ruby-macho (2.5.1)
81+
strscan (3.1.0)
82+
typhoeus (1.4.1)
83+
ethon (>= 0.9.0)
84+
tzinfo (2.0.6)
85+
concurrent-ruby (~> 1.0)
86+
xcodeproj (1.25.0)
87+
CFPropertyList (>= 2.3.3, < 4.0)
88+
atomos (~> 0.1.3)
89+
claide (>= 1.0.2, < 2.0)
90+
colored2 (~> 3.1)
91+
nanaimo (~> 0.3.0)
92+
rexml (>= 3.3.2, < 4.0)
93+
94+
PLATFORMS
95+
ruby
96+
97+
DEPENDENCIES
98+
activesupport (>= 6.1.7.5, < 7.1.0)
99+
cocoapods (>= 1.13, < 1.15)
100+
101+
RUBY VERSION
102+
ruby 2.7.6p219
103+
104+
BUNDLED WITH
105+
2.1.4

example/ios/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ PODS:
12961296
- React-logger (= 0.74.5)
12971297
- React-perflogger (= 0.74.5)
12981298
- React-utils (= 0.74.5)
1299-
- RNScreens (3.34.0):
1299+
- RNScreens (3.32.0):
13001300
- DoubleConversion
13011301
- glog
13021302
- hermes-engine
@@ -1317,9 +1317,9 @@ PODS:
13171317
- React-utils
13181318
- ReactCommon/turbomodule/bridging
13191319
- ReactCommon/turbomodule/core
1320-
- RNScreens/common (= 3.34.0)
1320+
- RNScreens/common (= 3.32.0)
13211321
- Yoga
1322-
- RNScreens/common (3.34.0):
1322+
- RNScreens/common (3.32.0):
13231323
- DoubleConversion
13241324
- glog
13251325
- hermes-engine
@@ -1616,11 +1616,11 @@ SPEC CHECKSUMS:
16161616
React-runtimescheduler: cfbe85c3510c541ec6dc815c7729b41304b67961
16171617
React-utils: f242eb7e7889419d979ca0e1c02ccc0ea6e43b29
16181618
ReactCommon: f7da14a8827b72704169a48c929bcde802698361
1619-
RNScreens: c55a1c0375e26d211940f09b0798bb44a5b3d968
1619+
RNScreens: d3d50aa84db4541eee00fbb1f32151030f56c510
16201620
RNVectorIcons: 933948590e598ec50433d6f207242e5a7c1d6b7d
16211621
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
16221622
Yoga: 950bbfd7e6f04790fdb51149ed51df41f329fcc8
16231623

1624-
PODFILE CHECKSUM: 6b9c820897cb7361464ed0bc3d04c1c1ca2946f7
1624+
PODFILE CHECKSUM: 684599d0e4b0f60fab3a5ad6c896bb5e77f7b4f2
16251625

16261626
COCOAPODS: 1.14.3

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"lint": "eslint \"**/*.{js,ts,tsx}\"",
1313
"lint-fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
1414
"start": "react-native start",
15-
"pods": "cd ios && RCT_NEW_ARCH_ENABLED=1 pod install && rm -rf .xcode.env.local",
15+
"pods": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install && rm -rf .xcode.env.local",
1616
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
1717
"build:ios": "cd ios && xcodebuild -workspace QuickCrytpExample.xcworkspace -scheme QuickCrytpExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
1818
},

0 commit comments

Comments
 (0)