Fix Xcode 14 Bug

iOS
mlch911 3 years ago
parent 274224fe9d
commit fee3560dea

@ -36,6 +36,13 @@ end
post_install do |installer| post_install do |installer|
installer.pods_project.targets.each do |target| installer.pods_project.targets.each do |target|
# Fix Xcode14 bundle need sign
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
flutter_additional_ios_build_settings(target) flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config| target.build_configurations.each do |config|
# You can remove unused permissions here # You can remove unused permissions here

@ -216,6 +216,6 @@ SPEC CHECKSUMS:
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96 webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96
PODFILE CHECKSUM: 472b36355d7f1afce121640438e776da12affe90 PODFILE CHECKSUM: 568d83cfac207bd024fffa34866403436cf8f991
COCOAPODS: 1.11.3 COCOAPODS: 1.11.3

Loading…
Cancel
Save