原帖地址 http://stackoverflow.com/questions/36147625/xcode-7-3-cannot-create-weak-reference-in-file-using-manual-reference-counting activeoldestvotes up vote87down voteaccepted Set Build Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak Refe…
之前的编程没有遇到过,应该是苹果官方那边又做了新规吧. 不过不要紧,只要根据这个就能解决报错问题. Set Build Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Release to YES. 参考: http://blog.csdn.net/sjcode/article/details/51014679…