Skip to content

Instantly share code, notes, and snippets.

@lamvd0101
Last active October 27, 2022 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lamvd0101/e56df5c99c65c79a652507108479c3ac to your computer and use it in GitHub Desktop.
Save lamvd0101/e56df5c99c65c79a652507108479c3ac to your computer and use it in GitHub Desktop.
# ...
# 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