This is how I solve
In my case, I had problem with BonMot package and I solved errors with following these steps.
1-I upgraded BonMot package with the latest version which was 6.0.0
2-The package requires minimum IPHONEOS_DEPLOYMENT_TARGET attribute to 11 and I changed it.
Changing attribute may affect your project, in that case you need to upgrade all packages to 11
If you have hundred packages in your pod file you can add these line your podFile than run pod update
$iOSVersion = '11.0'
post_install do |installer|
# add these lines:
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=*]"] = "armv7"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
installer.pods_project.targets.each do |target|
# add these lines:
target.build_configurations.each do |config|
if Gem::Version.new($iOSVersion) > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
end
end
end
Thanx