美文网首页
requires a provisioning profile

requires a provisioning profile

作者: crazyfox | 来源:发表于2022-11-27 13:43 被阅读0次

Xcode升级到14后,编译报错:

Showing Recent Errors Only
/Users/user/XXX.ios/XXX.xcodeproj: "XXX" requires a provisioning profile with the App Groups feature. Select a provisioning profile in the Signing & Capabilities editor.

解决办法:

podfile添加

post_install do |installer|
  installer.pods_project.targets.each do |target|
    # 针对Bundle类型的做强制不签名
    if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
      target.build_configurations.each do |config|
          config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      end
    end
  end
end

https://juejin.cn/post/7143160997459542046

相关文章

网友评论

      本文标题:requires a provisioning profile

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