ios - How to Turn off ARC for a framework if files of that framework are not seen under compile sources? -


this question has answer here:

i have compiled pantomime framework , when add project shows following error:

pantomime.framework/versions/a/headers/cwcachemanager.h:40:13: arc forbids objective-c objects in structs or unions

how can turn off arc or solve issue because file cwcachemanager not showing in compile sources.

all suggestions welcome. thanx in advance

this basic step :

select project form project manager   |   |    targets        |        |      build phases           |           |         compile sources                 |                 |             select file want crate arc. (you can select multiple file name here)                         |                         |                     press "enter" key                            |                            |                       popup box/window displayed                                 |                                |                             write here - '-fno-objc-arc'                                     |                                     |                                 , again press 'enter' key.  selected file being arc off. 

Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -