I’m adding the MKStoreKit to my app and I’m getting a warning, Method possibly missing a [super dealloc] call. I know the library has been converted for the new ARC.
However, I’m not ready to convert my whole app to ARC.
How should I proceed?
Is it safe to use the ignore option, or do I need to add a setting for my app somewhere ?
Click on the Xcode project in the file navigator on the left of the Xcode window. Now select your app target, and look for the “Build Phases” tab in the main view. Under there, you’ll see the “Compile Sources” phase. For each of the files in MKStoreKit, edit the compiler flags in Compile Sources to add:
That lets you compile these files correctly with ARC, but carry on using manual reference counting through your own code.