Skip to content

Instantly share code, notes, and snippets.

View hackiftekhar's full-sized avatar
🏠
Working from home

Mohd Iftekhar Qurashi hackiftekhar

🏠
Working from home
View GitHub Profile
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.name == 'Debug'
config.build_settings["DEBUG_INFORMATION_FORMAT"] = "dwarf"
end
end
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.name == 'Debug'
config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
end
end
end
end
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