Disable ARC for a single file in a project
来源:互联网 发布:学生网络选修课网址 编辑:程序博客网 时间:2024/05/16 14:13
在iOS工程中利用ARC来管理内存已经很常见了,但有些比较老的项目不支持ARC的时候必须手动对这些文件进行修改:
It is possible to disable ARC for individual files by adding the
1
-fno-objc-arc
compiler flag for those files.
You add compiler flags in Targets -> Build Phases -> Compile Sources. You have to double click on the right column of the row under Compiler Flags. You can also add it to multiple files by holding the cmd button to select the files and then pressing enter to bring up the flag edit box.
- Disable ARC for a single file in a project
- Creating targets for free and full versions in a single Xcode project
- copy a single file
- Handling Multiple Versions in a Single Project Team
- multiple xaml file in a single Silverlight application
- 道歉信-apology for a delay in a project
- eclipse A .project file already exists in directory
- A common Ant file format for simple java project
- Archive for required library: "xxxx" in project '*' cannot be read or is not a valid ZIP file
- Disable HTML a links in different browser
- android in practice_Using a Service for caching data(portfolio project)
- Using GDI+ in a Single Document MFC Project to Rotate, Zoom, and Constraint an Image
- resolve to a path with no project.properties file for project
- git: revert (reset) a single file
- test process for a project
- 【iOS】Signing for requires a development team. Select a development team in the project editor. Code
- Signing for requires a development team. Select a development team in the project editor. Code
- ios Signing for "" requires a development team. Select a development team in the project editor.
- python赋值机制
- BeansDB源码剖析——htree.c
- LeetCode-Maximum Depth of Binary Tree
- Linux c 匿名管道实例—创建两个子进程与父进程进行管道通信
- ibm cognos 画地图以及生成地图报表
- Disable ARC for a single file in a project
- 初入职场——实习那些事(3)
- linux proc 文件系统
- python property函数
- 饭卡 hdu 2546
- hdu 1049(1.2.3)
- Linux安装系统调用表更改模块时系统崩溃(unable to handle kernel paging request at XX)
- 进程间的通信-消息队列
- ASM函数监听实现-之简单静态方法注入