From 9c71f2e3ac75c5e834f3fb394cafab56624f6224 Mon Sep 17 00:00:00 2001 From: John Fairhurst Date: Fri, 6 Sep 2024 09:32:58 +0100 Subject: [PATCH] Try and resolve CI arm vs. intel --- .github/workflows/Tests.yml | 3 ++- spec/integration_spec.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 72b56e6d..d1b19f63 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -34,6 +34,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + persist-credentials: false - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: '16.0-beta' @@ -42,7 +43,7 @@ jobs: ruby-version: 3.2 bundler-cache: true - name: Cache cocoapods - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cocoapods with: diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb index 52806869..429f1388 100644 --- a/spec/integration_spec.rb +++ b/spec/integration_spec.rb @@ -224,7 +224,7 @@ def configure_cocoapods "#{realm_version}/api/ " \ '--xcodebuild-arguments ' \ '-scheme,RealmSwift,SWIFT_VERSION=4.2,' \ - "-destination,'platform=OS X' " \ + "-destination,'platform=OS X',arch=x86_64 " \ "--head #{realm_head.shellescape}" end