ci: upgrade Xcode version required to 14.3

Using `sandbox: false` for `nix.shell()` call to avoid failures in
Xcode wrapper derivation due to missing permissions:
```
error: builder for '/nix/store/xxx-xcode-wrapper-14.3.drv' failed with exit code 1;
       last 2 log lines:
       > /nix/store/yyy-stdenv-darwin/setup: line 1391: /nix/store/yyy-xcode-wrapper-14.3/bin/xcodebuild: Operation not permitted
       > We require xcodebuild version: 14.3
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-04-27 20:22:46 +02:00
parent 9f062b988f
commit c8161a5fa4
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
library 'status-jenkins-lib@v1.7.0' library 'status-jenkins-lib@v1.7.0'
pipeline { pipeline {
agent { label 'macos && aarch64 && nix-2.11' } agent { label 'macos && aarch64 && xcode-14.3 && nix-2.11' }
parameters { parameters {
string( string(
@ -47,7 +47,7 @@ pipeline {
stage('Compile') { stage('Compile') {
steps { script { steps { script {
nix.shell('make statusgo-ios', pure: false) nix.shell('make statusgo-ios', pure: false, sandbox: false)
} } } }
} }

View File

@ -35,7 +35,7 @@ let
/* No Android SDK for Darwin aarch64. */ /* No Android SDK for Darwin aarch64. */
isMacM1 = stdenv.isDarwin && stdenv.isAarch64; isMacM1 = stdenv.isDarwin && stdenv.isAarch64;
/* Lock requires Xcode verison. */ /* Lock requires Xcode verison. */
xcodeWrapper = pkgs.xcodeenv.composeXcodeWrapper { version = "14.2"; }; xcodeWrapper = pkgs.xcodeenv.composeXcodeWrapper { version = "14.3"; };
/* Gomobile also needs the Xcode wrapper. */ /* Gomobile also needs the Xcode wrapper. */
gomobileMod = pkgs.gomobile.override { gomobileMod = pkgs.gomobile.override {
inherit xcodeWrapper; inherit xcodeWrapper;