美文网首页
去除xcode 14pod报错

去除xcode 14pod报错

作者: _菩提本无树_ | 来源:发表于2023-01-02 16:46 被阅读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

相关文章

网友评论

      本文标题:去除xcode 14pod报错

      本文链接:https://www.haomeiwen.com/subject/xixkcdtx.html