我的目标是iOS 11,现在提交应用程序后,我收到一封来自苹果的电子邮件,警告“符号文件太多”。
看起来像是为不需要的架构包含了CocoaPods框架。
为了避免在iOS 11上包含不需要的框架,谁能展示一下正确的设置是什么?
发布于 2019-07-03 01:44:51
"Too more symbol files“警告告诉你,你的项目比CocoaPods框架有更多的限制。您的目标是iOS 11,但是您的CocoaPods框架的最低部署目标可能低于iOS 11。
如果是这样,那么在您的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

发布于 2019-01-31 16:55:42
为了避免这个警告,你只需要存档你的应用程序的dSYM文件,而不是库。为此,您需要更改库的构建配置,而不生成dSYM文件。只需在配置中搜索“调试信息格式”,并将其从带有dSYM文件的DWARF更改为DWARF only。在屏幕截图上,你会发现一个关于条纹iOS框架的例子。

发布于 2018-11-04 01:21:34
如果将以下行放入podfile中,则不会收到警告:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
end
end
endhttps://stackoverflow.com/questions/51334994
复制相似问题