『IOS』xcode 编译器禁用 ARC (Automatic Referencing Counting)
来源:互联网 发布:网络写手签约哪个网站 编辑:程序博客网 时间:2024/05/18 17:57
原文链接:http://www.cnblogs.com/shengdoushi/archive/2011/09/05/2168182.html
xcode 多了一个 ARC 的新编译器特性,挺神奇的,在使用模板创建一个项目的时候会自动启用这个特性( -fobjc-arc)。
可以在 Build Setting => "Apple LLVM compiler 3.0-Auto Reference Counting“ => "Mugrate cide from MRR to ARC" 设置为 "MIGRATE code to ARC after building with PRECHECK" 这个就可以跳过烦人的预语法检查报错, 且自动转换成ARC。
禁用可以设置 Build Setting => "Apple LLVM compiler 3.0-Code Generation“ => “Objective-C automatic Reference Counting" 置为NO。
还可以设置 "Build Phases" => "Compile Sources" 中在禁用的源文件上加编译参数: -fno-objc-arc 。
0 0
- 『IOS』xcode 编译器禁用 ARC (Automatic Referencing Counting)
- xcode 编译器禁用 ARC (Automatic Referencing Counting)
- xcode 编译器禁用 ARC (Automatic Referencing Counting)
- 在Xcode4.5中禁用ARC(Automatic Referencing Counting)
- 在Xcode4.5中禁用ARC(Automatic Referencing Counting)
- 在Xcode4.5中禁用ARC(Automatic Referencing Counting)
- arc automatic referencing counting
- Xcode 5 如何禁用某个文件ARC(Automatic Reference Counting)
- 如何禁用iOS 5 ARC 自动释放 (Automatic Reference Counting) ?
- iOS Automatic Reference Counting(ARC)
- 了解Xcode 4.2中Automatic Reference Counting(ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Xcode 4.2 中的Automatic Reference Counting (ARC)
- Linux进程间的通信(一)
- 整数求和程序的流程设计和实现
- 畅通工程续(1874)hdu最短路径算法—Floyd
- App Extension编程指南(iOS8/OS X v10.10):扩展类型--Today
- bzoj 1026——windy 数
- 『IOS』xcode 编译器禁用 ARC (Automatic Referencing Counting)
- mysql主从复制--傻瓜式操作
- 打印-杨辉三角
- HTTPCLIENT总结
- nyoj 113 字符串替换
- 第11周项目4-特殊三位数
- App Extension编程指南(iOS8/OS X v10.10):创建应用扩展
- RichFaces组件listShuttle使用
- hdu 1846 Brave Game 博弈