您的位置:首页 > 运维架构

error: expected a property attribute before 'strong'

2012-05-14 18:44 495 查看
备注:今天用最新的 myLauncher (https://github.com/Jarada/myLauncher)代码时发现
里面用了stong 在xcode4.1时编译不通过

用xcode4.2 打开项目是直接提示 error: expected a property attribute before 'strong' 把strong 换成retain 就可以,折腾了好一会,最终用下面的方法得以解决即
在 Build Settings 裡,把 Compiler 改成 Apple LLVM compiler 3.0 就可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐