升级xcode 8以后提示有的变量重复了,只要在

 

Build settings->enable testability 设置为no

 

因为xcode 8 默认开启了可测试性构建设置,把他关了,旧项目就可以运行了

相关文章: