Just updated my project to Xcode 8 and I find this errors in multiple external frameworks my app includes. Is there a workaround, maybe touching settings, to avoid this compilation errors?
This is an error example: (That I'm not able to modify because it's an imported framework)
const void * ivarPtr = objc_unretainedPointer(self) + ivar_getOffset(ivar);
[decoder decodeValueOfObjCType:[ivarInfo[@"encoding"] UTF8String] at:(void *)ivarPtr];
For Xcode 8, it should be:
const void * ivarPtr = (__bridge void *)(self) + ivar_getOffset(ivar);
You can Simply Replace objc_unretainedPointer(self)
to (__bridge void *)
(self)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With