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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容