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
Post a Comment