bazel-xcode / bazel-xcode/PodToBUILD

"Bad CPU type in executable" error on M1 Mac?

Open
#230 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
330
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Got the "Bad CPU type in executable" error when running RepoTools to download pods during build.
Is it possible to put universal build of `RepoTools` (and `Compiler` as well) in release package?

Error message:
` /private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/BazelExtensions/workspace.bzl:316:14: in new_pod_repository
Repository rule pod_repo_ defined at:
/private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/BazelExtensions/workspace.bzl:198:28: in
DEBUG: /private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/BazelExtensions/workspace.bzl:6:14: __OUTPUT 1 src/main/tools/process-wrapper-legacy.cc:80: "execvp(/private/var/tmp/_bazel_hannahshi/937520e164843f0bd3aace18131f00d9/external/rules_pods/bin/RepoTools, ...)": Bad CPU type in executable
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.