Last active
October 27, 2022 09:23
-
-
Save lamvd0101/e56df5c99c65c79a652507108479c3ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
# Fix xcode 12.5 | |
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
target.build_configurations.each do |config| | |
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' | |
end | |
target.build_configurations.each do |config| | |
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO' | |
end | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment