-5

i have compiled Pantomime framework and when i add it to my project it shows the following error:

Pantomime.framework/Versions/A/Headers/CWCacheManager.h:40:13: ARC forbids Objective-C objects in structs or unions

How can i turn off ARC or solve this issue because this file CWCacheManager is not showing in compile sources.

All Suggestions are welcome. Thanx in Advance

Prike
  • 57
  • 10

1 Answers1

1

This is basic step :

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.
iPatel
  • 46,010
  • 16
  • 115
  • 137
  • *"Select File that you Want to crate as ARC"* ??? - You should adjust your answer http://stackoverflow.com/a/15476142/1187415 to this question - or better just vote to close as a duplicate. – Martin R Aug 20 '13 at 07:43