From 6d6427f8cd7325f092e383a4365b7fa2ef7e3978 Mon Sep 17 00:00:00 2001 From: Jonas Bark Date: Thu, 22 Jan 2026 17:31:52 +0100 Subject: [PATCH] fix macOS build issue --- .github/workflows/build.yml | 6 +++++- pubspec.lock | 30 +++++++++++++++++++++++++++--- pubspec.yaml | 1 - 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88c74a8..5e09b9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ env: jobs: build: name: Build & Release - runs-on: macos-latest + runs-on: macos-26 permissions: id-token: write @@ -53,6 +53,10 @@ jobs: - name: Checkout Repository uses: actions/checkout@v3 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Install certificates if: inputs.build_mac || inputs.build_ios env: diff --git a/pubspec.lock b/pubspec.lock index ed2898c..9a15231 100755 --- a/pubspec.lock +++ b/pubspec.lock @@ -176,6 +176,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.2" + code_assets: + dependency: transitive + description: + name: code_assets + sha256: "83ccdaa064c980b5596c35dd64a8d3ecc68620174ab9b90b6343b753aa721687" + url: "https://pub.dev" + source: hosted + version: "1.0.0" collection: dependency: transitive description: @@ -640,6 +648,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.0" + hooks: + dependency: transitive + description: + name: hooks + sha256: "5d309c86e7ce34cd8e37aa71cb30cb652d3829b900ab145e4d9da564b31d59f7" + url: "https://pub.dev" + source: hosted + version: "1.0.0" http: dependency: "direct main" description: @@ -1010,6 +1026,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.16.12" + native_toolchain_c: + dependency: transitive + description: + name: native_toolchain_c + sha256: "89e83885ba09da5fdf2cdacc8002a712ca238c28b7f717910b34bcd27b0d03ac" + url: "https://pub.dev" + source: hosted + version: "0.17.4" nested: dependency: transitive description: @@ -1067,13 +1091,13 @@ packages: source: hosted version: "3.0.1" objective_c: - dependency: "direct overridden" + dependency: transitive description: name: objective_c - sha256: "64e35e1e2e79da4e83f2ace3bf4e5437cef523f46c7db2eba9a1419c49573790" + sha256: "9922a1ad59ac5afb154cc948aa6ded01987a75003651d0a2866afc23f4da624e" url: "https://pub.dev" source: hosted - version: "8.0.0" + version: "9.2.3" package_config: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 76428d6..1dc9767 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -85,7 +85,6 @@ dev_dependencies: msix: ^3.16.12 dependency_overrides: - objective_c: 8.0.0 gamepads_windows: git: url: https://github.com/lea108/gamepads.git