Skip to content

Wails v2.10.0 use "darwin/universal" platform raise go error #4084

@aotoki-qiu-ggl

Description

@aotoki-qiu-ggl

Description

After upgrading to v2.10.0 the darwin/universal platform will raise go: unsupported GOOS/GOARCH pair darwin/universal error.

To Reproduce

  1. Upgrade to v2.10.0 with go mod vendor
  2. Update GitHub Action
  • go install github.com/wailsapp/wails/v2/cmd/wails@v2.10.0
  • go install mvdan.cc/garble@latest
  1. Run GitHub Action and an error is raised

Expected behaviour

The wails build command works correctly.

Screenshots

No response

Attempted Fixes

No response

System Details

* GitHub Action OS `macos-latest` or `macos-13`
* Golang Version `1.23.5`
* Platform `darwin/amd64` or `darwin/arm64`

> Both ARM and Intel macOS are tested and have the same issue.
# Wails
Version | v2.10.0
# System
┌───────────────────────────────────┐
| OS           | MacOS              |
| Version      | 14.7.2             |
| ID           | 23H311             |
| Go Version   | go1.23.4           |
| Platform     | darwin             |
| Architecture | arm64              |
| CPU          | Apple M1 (Virtual) |
| GPU          | Unknown            |
| Memory       | 7GB                |
└───────────────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────
| Dependency                | Package Name | Status    | Version       |
| Xcode command line tools  | N/A          | Installed | 2[40](https://github.com/***/common-desktop/actions/runs/13364796883/job/37320361251#step:8:41)8          |
| Nodejs                    | N/A          | Installed | 20.9.0        |
| npm                       | N/A          | Installed | 10.1.0        |
| *Xcode                    | N/A          | Installed | 15.4 (15F31d) |
| *upx                      | N/A          | Available |               |
| *nsis                     | N/A          | Available |               |
└────────────────────── * - Optional Dependency ───────────────────────┘
# Diagnosis
Optional package(s) installation details: 
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/
 SUCCESS  Your system is ready for Wails development!
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions