更新XCode14后工程报错:pod的资源文件需要签名

2022-09-14  本文已影响0人  OrrHsiao

转自:https://github.com/DevDragonLi/iOSInterviewsAndDevNotes/commit/ec98e915311bc6751a30130f287aec9e2d9fd5ef
龙哥的解决方案

Pod工程中的Bundle target签名报错

post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['CODE_SIGN_IDENTITY'] = ''
         end
    end
  end
end
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
       config.build_settings['CODE_SIGN_IDENTITY'] = ''
    end
  end
end
上一篇下一篇

猜你喜欢

热点阅读