企业微信截图_2da251bf-e32f-4bf2-a204-ea4b778b5f0d.png
再在Podfile文件添加
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
这样就可以解决模拟器、真机和Debug、Release之前来回切换问题