leavez / cocoapods-binary

integrate pods in form of prebuilt frameworks conveniently, reducing compile time
MIT License
1.31k stars 206 forks source link

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

Open andreiasandei opened 2 years ago

andreiasandei commented 2 years ago

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.

blyscuit commented 1 year ago

I'm getting this same failure on Intel Mac as well. Xcode: 14.2 (14C18) Mac: 12.5 (21G72).

Prebuild frameworks (total 22)
Prebuilding Firebase
Prebuilding KeychainAccess...
Done
mdellagi77 commented 1 year ago

No answer here?