Building for ‘iOS-simulator’, but linking in object file (/XXX/lib/libopencore-amrnb.a[arm64]2) built for ‘iOS’
在Podfile里添加如下设置:config.build_settings[“EXCLUDED_ARCHS[sdk=iphonesimulator*]”] = “arm64”
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end