File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 clang --version
6767 clang-format --version
6868
69- - name : Install Swiftly
69+ - name : Install Swiftly and Swift
7070 run : |
7171 SWIFTLY_FILE="swiftly-$(uname -m).tar.gz"
7272 curl -sL https://download.swift.org/swiftly/linux/swiftly-x86_64.tar.gz -o $SWIFTLY_FILE
@@ -75,10 +75,17 @@ jobs:
7575 ./swiftly init --quiet-shell-followup
7676 . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
7777 hash -r
78+
79+ # Install Swift (required for SwiftLint)
80+ swiftly install latest
81+ swift --version
82+
7883 sudo apt-get -y install libcurl4-openssl-dev
7984
8085 - name : Lint
81- run : yarn lint
86+ run : |
87+ . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
88+ yarn lint
8289
8390 job_check_integrity :
8491 name : Check package integrity
Original file line number Diff line number Diff line change 4444 - name : Install SDK JS Dependencies
4545 run : yarn install
4646
47+ - uses : ruby/setup-ruby@v1
48+ with :
49+ ruby-version : ' 3.3.0'
50+
4751 - name : Install App Pods
4852 working-directory : packages/core/RNSentryCocoaTester
4953 run : pod install
Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ jobs:
135135 - name : Build iOS App
136136 if : ${{ matrix.platform == 'ios' }}
137137 working-directory : ${{ env.REACT_NATIVE_SAMPLE_PATH }}
138+ env :
139+ # Fix for Xcode 26+ with MetalToolchain: use default Xcode toolchain to avoid
140+ # missing Swift compatibility libraries (swiftCompatibility56, etc.)
141+ # See: https://github.com/actions/runner-images/issues/13135
142+ TOOLCHAINS : com.apple.dt.toolchain.XcodeDefault
138143 run : |
139144 [[ "${{ matrix.build-type }}" == "production" ]] && export CONFIG='Release' || export CONFIG='Debug'
140145
You can’t perform that action at this time.
0 commit comments