Skip to content

Prebuilding dependencies does not work on M1 processor architecture (arm64) #164

Open
@andreiasandei

Description

@andreiasandei

I have a simple iOS project and I would like to precompile pod dependencies. After following the steps you provided, when I run pod install, the script fails when trying to prebuild any library. There is no error message displayed, the script just fails.

After looking at your code, the issue seems to be the fact that the processor architecture (and hence the architecture of the iPhone simulator) is arm64 not x86_64 as the machine I am using has an M1 processor.

I believe this is an issue more and more users will face as the Apple dev community is slowly shifting towards this processor architecture.

I have XCode v13.4.1 installed and macOS Monterey (v12.5).

Please let me know if I can provide further details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions