---
title: "IOS ARC 和 非ARC 之间的转换方法 "
author: "BlueSkator"
date: "2014-12-30T15:55:51Z"
tags: ["Objective-C", "iOS"]
categories: ["移动开发"]
slug: "ios-arc-arc"
draft: false
lastmod: "2014-12-30T15:55:51Z"
id: 2171234
url: "https://blueskator.iteye.com/blog/2171234"
---

1，选择项目中的Targets，选中你所要操作的Target，  
2，选Build Phases，在其中Complie Sources中选择需要ARC的文件双击，  
     并在输入框中输入：-fobjc-arc，如果不要ARC则输入：-fno-objc-arc