CBasediOSApp
CBasediOSApp copied to clipboard
This no longer builds due to objc_msgSend requiring casting
https://www.mikeash.com/pyblog/objc_msgsends-new-prototype.html
That offers some explanation. This is succinct because I do not have an answer on how to fix this. A local hack crashed on me in the iPhone emulator.
Quick and dirty:
static id (*old_msgSend)(id, SEL, ...) = (void *)objc_msgSend;
#define objc_msgSend old_msgSend