2018年12月12日
1.最终解决方案 Podfile文件添加入如下命令即可
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
if config.name.include?("Debug")
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '0'
end
end
end
image.png
这样每次pod install (update) 编译优化都是None
image.png
2018年10月18日
1.模块化后,发现UAT SIT DEV环境 调试代码的时候都为nil了
原因:Build Setting 搜索 optimization 有优化了
将pod工程不是release的全部改成 None 即可,
image.png
如果您发现本文对你有所帮助,如果您认为其他人也可能受益,请把它分享出去。