Cocoapod Installation on M1 Mac mini

Solved problem
donaldclark@Donalds-Mini straw % sudo arch -x86_64 gem install ffi

Password:

Building native extensions. This could take a while…

Successfully installed ffi-1.15.0

Parsing documentation for ffi-1.15.0

Done installing documentation for ffi after 3 seconds

1 gem installed

donaldclark@Donalds-Mini straw % arch -x86_64 pod install

Analyzing dependencies

Adding spec repo trunk with CDN https://cdn.cocoapods.org/

[!] CocoaPods could not find compatible versions for pod “Alamofire”:

In Podfile:

Alamofire (~> 5.2)

Specs satisfying the Alamofire (~> 5.2) dependency were found, but they required a higher minimum deployment target.

donaldclark@Donalds-Mini straw % https://github.com/CocoaPods/CocoaPods/issues/10518https://github.com/CocoaPods/CocoaPods/issues/10518

zsh: no such file or directory: https://github.com/CocoaPods/CocoaPods/issues/10518https://github.com/CocoaPods/CocoaPods/issues/10518

donaldclark@Donalds-Mini straw % arch -x86_64 pod install

Analyzing dependencies

Downloading dependencies

Installing Alamofire (5.4.1)

Generating Pods project

Integrating client project

[!] Please close any current Xcode sessions and use straw.xcworkspace for this project from now on.

Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

donaldclark@Donalds-Mini straw %