Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix React Native iOS Build #320

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,24 @@ jobs:
react_native_ios:
if: ${{ github.repository == 'authgear/authgear-sdk-js' && github.ref == 'refs/heads/master' && github.event_name == 'push' }}
needs: test
# When we change the runner image, the ruby version will change too.
# We need to update .tool-versions to make them the same.
# See https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: "./.tool-versions"
- uses: ruby/setup-ruby@v1
with:
# Do not specify ruby-version so that it picks the version declared in .tool-versions
# See https://github.com/ruby/setup-ruby?tab=readme-ov-file#supported-version-syntax
# ruby-version: "Unspecified intentionally. See the above comment"
# Ideally we should turn this on
# But this flag runs bundle install and cache, which does not suit our use case here.
# See https://github.com/ruby/setup-ruby?tab=readme-ov-file#caching-bundle-install-automatically
bundler-cache: false
- run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- run: npm install -g appcenter-cli
- run: npm ci
Expand Down
3 changes: 2 additions & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
nodejs 20.9.0
yarn 1.22.22
kubectl 1.21.8
ruby 3.3.3
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md?plain=1#L31
ruby 3.0.7
12 changes: 5 additions & 7 deletions example/reactnative/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ GEM
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
Expand All @@ -68,17 +68,15 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
minitest (5.24.1)
minitest (5.25.1)
molinillo (0.8.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
public_suffix (4.0.7)
rexml (3.3.6)
strscan
rexml (3.3.7)
ruby-macho (2.5.1)
strscan (3.1.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
Expand All @@ -99,7 +97,7 @@ DEPENDENCIES
cocoapods (~> 1.15)

RUBY VERSION
ruby 3.3.3p89
ruby 3.0.7p220

BUNDLED WITH
2.5.11
2.2.33
10 changes: 5 additions & 5 deletions example/reactnative/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- authgear-react-native (2.11.0-rc.0):
- authgear-react-native (2.11.0):
- React-Core
- boost (1.76.0)
- DoubleConversion (1.1.6)
Expand All @@ -13,9 +13,9 @@ PODS:
- ReactCommon/turbomodule/core (= 0.72.15)
- fmt (6.2.1)
- glog (0.3.5)
- hermes-engine (0.72.14):
- hermes-engine/Pre-built (= 0.72.14)
- hermes-engine/Pre-built (0.72.14)
- hermes-engine (0.72.15):
- hermes-engine/Pre-built (= 0.72.15)
- hermes-engine/Pre-built (0.72.15)
- libevent (2.1.12)
- RCT-Folly (2021.07.22.00):
- boost
Expand Down Expand Up @@ -566,7 +566,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
authgear-react-native: c3beb349a95927daa4f6a7f3f3d661fdb9cbb775
authgear-react-native: 90d8ef725f32f9e51bd22ec9ed04ea0f18c18725
boost: 7dcd2de282d72e344012f7d6564d024930a6a440
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: 25cbffbaec517695d376ab4bc428948cd0f08088
Expand Down
Loading