phonegap error: expected a property attribute before 'strong'
2012-11-09 15:32
357 查看
今天在做phonegap工程的时候,遇到了expected a property attribute before 'strong',折腾了好一会,最终找到下面的方法得以解决即
在 Build Settings 裡,把 Compiler 改成 Apple LLVM compiler 3.0 就可以了.
具体原理请参考NickTang的博客文章。http://blog.csdn.net/nicktang/article/details/6887569(ARC简介)
在 Build Settings 裡,把 Compiler 改成 Apple LLVM compiler 3.0 就可以了.
具体原理请参考NickTang的博客文章。http://blog.csdn.net/nicktang/article/details/6887569(ARC简介)
相关文章推荐
- error: expected a property attribute before 'strong'
- error: expected a property attribute before 'strong'
- error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ’***'
- xcode4.2 error: expected a property attribute before 'strong'
- error: expected '=', ',', ';', 'asm' or '__attribute__' before 'glbvar'
- swith 引起的: expected expression before 'XXX'的 error
- ldd3 error: expected expression before 'spinlock_t' (access.c中)
- error: expected unqualified-id before '-' 错误
- swith 引起的: expected expression before 'XXX'的 error
- gcc 编译错误 error:expected class-name before ';' token
- “expected '=', ',', ';', 'asm' or '__attribute__' before 'void'”
- Objective-C编译错误:expected '=', ',', ';', 'asm' or '__attribute__' before ***
- error: expected class-name before '{' token
- error: expected template-name before '<' token
- error: expected unqualified-id before 'int'
- error: expected ')' before '*' token
- C++构造函数初始化列表处提示出现 error: expected '{' before 'this'
- error: expected class-name before '{' token
- echarts-all.js:1 Uncaught TypeError: Cannot read property 'getAttribute' of null
- c++config.h:43: error: expected unqualified-id before 'namespace'解决