I'm having trouble with release
, as I read is because I'm using Xcode 4.2. I tried the option: "Convert to Objective-C ARC" but it still fails:
Xcode found 6 issues that prevent conversion from proceeding. Fix all ARC readiness issues and try again.
receivedData = [[NSMutableData data] retain];
ARC forbids explicit message send of 'retain'
and:
[receivedData release];
"release is unavailable"