-5

我已经编译了 Pantomime 框架,当我将它添加到我的项目中时,它显示以下错误:

Pantomime.framework/Versions/A/Headers/CWCacheManager.h:40:13:ARC 禁止在结构或联合中使用 Objective-C 对象

我如何关闭 ARC 或解决此问题,因为此文件 CWCacheManager 未显示在编译源中。

欢迎所有建议。提前感谢

4

1 回答 1

1

这是基本步骤:

Select Project Form Project Manager
  |
  | 
  Targets
       |
       |
     Build Phases
          |
          |
        Compile Sources
                |
                |
            Select File that you Want to crate as ARC. (You can also Select Multiple File name from here)
                        |
                        |
                    Press "ENTER" key
                           |
                           |
                      Popup Box/Window is displayed 
                               |
                               |
                            Write here - '-fno-objc-arc'
                                    |
                                    |
                                And again Press 'ENTER' key.

Your selected file is being ARC OFF.
于 2013-08-20T07:37:41.810 回答