requires a provisioning profile with the App Groups feature. Select a provisioning profile in the...

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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容