I am targeting iOS 11, and now after submitting the app I receive an email from Apple with the warning "Too many symbol files".
It looks like CocoaPods frameworks are included for unneeded architectures.
Can anyone show what the proper settings are, in order to avoid including unneeded frameworks on iOS 11?
"Too many symbol files" warning is telling you that your project has more restrictive constraints than the CocoaPods frameworks. You are targeting iOS 11 but your CocoaPods frameworks might have a minimum deployment target that is less than iOS 11.
If that's the case, then add this at the end of your podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
To avoid this warning you need to archive only dSYM file of your application but not libraries. For this, you need change build configuration of the libraries do not generate a dSYM file. Just search for "debug information format" in configuration and change it from DWARF with dSYM File to DWARF only. On the screenshot, you will find an example for Stripe iOS framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With