Skip to content

Instantly share code, notes, and snippets.

@hackiftekhar
Last active January 19, 2024 13:27
Show Gist options
  • Save hackiftekhar/a906c03d2dba2d3e49afc122433fdb6c to your computer and use it in GitHub Desktop.
Save hackiftekhar/a906c03d2dba2d3e49afc122433fdb6c to your computer and use it in GitHub Desktop.
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