去除xcode 14pod报错
2023-01-02 本文已影响0人
_菩提本无树_
在podfile文件中添加一下内容
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
]// 这个不添加
config.build_settings['CODE_SIGN_IDENTITY'] = ''//只需添加这一行即可,上面的无需要添加
end
end
end