解决办法:(老外的话)
You need to turn off Automatic Reference Counting. You do this by clicking on your project in the navigator (the top item in the finder-like thing on the left), then click on your target, select "Build Settings" and turn off the option "Objective-C Automatic Reference Counting" (you can use the search field on the upper right to search it).
在项目导航栏 视图模式下里 ,选中即点击你出错的项目(target),代码编辑视图会切换为项目属性列表视图,选择Building Setting选项卡,之后在搜索框中搜索关键字auto
你会在搜索列表中发现 有这么一项 Objective-C Automatic Reference Counting , 吧该值切换为NO(取消自动释放模式)即可。