问题描述
通过 pod install 后,引用的第三方库编译失败,多处注释处产生错误


原因
由于代码注释不规范引起的
解决方案
podfile 中添加如下代码即可
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO'
end
end
网友评论