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
网友评论