Skip to content

setting arch to "arm64" adds the ARCHS parameter to the build, but leaves a broken -destination #466

@littlewatchman

Description

@littlewatchman

I'm using the 0.22.+ build of open bakery

I set the project arch to "arm64"
I set xcodebuild arch = project.arch
the generated command line build includes ARCHS=arm64
but it still includes -destination platform=OS X,arch=x86_64

which is doubly weird because I also set platform to "macOS"...

my project is arm64 only due to some framework restrictions, so it just won't build like this.

if I manual edit the destination to
-destination platform=macOS,arch=arm64
everything builds nicely

I tried overriding the project.destination
I tried overriding the xcodebuild destination
I tried all sorts of combinations of specifying platform and arch

but nothing I have tried gets rid of or modifies the -destination which is generated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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