Last active
January 19, 2024 13:27
-
-
Save hackiftekhar/a906c03d2dba2d3e49afc122433fdb6c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
target.build_configurations.each do |config| | |
if config.name == 'Debug' | |
config.build_settings["EXCLUDED_ARCHS[sdk=iphoneos*]]"] = "x86_64" | |
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" # "x86_64" For apple silicon | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment