Mac M1 flutter 打包出錯
Error output from CocoaPods: ? Searching for inspections failed: undefined method `map' for nil:NilClass
第一步:進(jìn)入對應(yīng)平臺的項(xiàng)目目錄
cd ios
第二步:
sudo arch -x86_64 gem install ffi
第三步:
arch -x86_64 pod repo update
第四步:
arch -x86_64 pod install