“符号文件过多”警告告诉您,您的项目比 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
Run Code Online (Sandbox Code Playgroud)
小智 2
如果您将以下行放入 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
end
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2550 次 |
| 最近记录: |