Too many symbol files - These symbols have no corresponding slice in any binary

We identified one or more issues with a recent delivery for your app, "AppName". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Too many symbol files - These symbols have no corresponding slice in any binary [???.symbols, ???.symbols, ???.symbols, ???.symbols]
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Best regards,
The App Store Team

这个问题主要是xcode10之后编译不支持armv7,认为armv7是多余文件。
查看了这个博客 错误原因

解决方法

实际上只要主工程里面找到 target->Build settting -> Build Active Architechure Only -> Release 改成No 并将 Valid Architechures 修改成arm64 arm64e


image.png

这样改完还是会出现上面的错误邮件,可能就是自己的项目拥有多个工程,如Pod工程等。
如果是自己创建的工程需要手动以上面的方法去修改。
Pod工程可以修改Podfile,在target 'appName' do 里面限制只以arm64构建,

target 'appName' do
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ARCHS'] = "arm64"
    end
end

你可能感兴趣的:(Too many symbol files - These symbols have no corresponding slice in any binary)