当我向Apple提交我的React Native应用程序时遇到问题。我收到一封邮件报告,说我的应用程序包含太多符号文件。 我在互联网上搜索,发现关于dwarfdump和dSYM文件的信息很少。关键是,当我进入其中的dSYM文件夹的.xcarchive时,该文件夹不包含Apple向我报告的ID:
ITMS-90381: Too many symbol files - These symbols have no corresponding slice in any binary [BDACE718-2EB9-3A6F-B95B-03C58CC906BA.symbols].
在与此邮件相对应的.xcarchive中,dwardfdump向我显示此内容:
$ dwarfdump --uuid *
UUID: 8242D350-A670-33DC-95CE-83213763BDE3 (arm64) BatchRichNotificationsExtension.appex.dSYM/Contents/Resources/DWARF/BatchRichNotificationsExtension
UUID: 00E8D7C8-52B6-3A7C-A4CD-0EE75C95DEFD (armv7) MaterialShowcase.framework.dSYM/Contents/Resources/DWARF/MaterialShowcase
UUID: E5BD2A99-0506-357E-BF51-99CE2D28429B (arm64) MaterialShowcase.framework.dSYM/Contents/Resources/DWARF/MaterialShowcase
UUID: C84B7E7D-F434-346B-B754-D3101D7C2771 (armv7) my-app.app.dSYM/Contents/Resources/DWARF/my-app
UUID: 7E873541-92BD-3C82-9F56-14A69642AEF9 (arm64) my-app.app.dSYM/Contents/Resources/DWARF/my-app
这是我的podfile:
platform :ios, '9.0'
target 'my-app' do
pod 'Firebase/Core', '~> 5.20.1'
pod 'Firebase/DynamicLinks', '~> 5.20.1'
pod 'Firebase/Messaging', '~> 5.20.1'
pod 'Fabric', '~> 1.7.13'
pod 'Crashlytics', '~> 3.10.7'
pod 'GoogleTagManager', '~> 7.1.1'
pod 'AppsFlyerFramework'
pod 'Batch', '~> 1.13'
pod 'Amplitude-iOS', '~> 4.0.4'
end
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
end
还有其他地方可以让我找到有问题的符号文件在哪里以及如何删除此文件/警告吗?
预先感谢