CBasediOSApp icon indicating copy to clipboard operation
CBasediOSApp copied to clipboard

This no longer builds due to objc_msgSend requiring casting

Open ryao opened this issue 2 years ago • 1 comments

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.

ryao avatar Jan 27 '24 03:01 ryao

Quick and dirty:

static id (*old_msgSend)(id, SEL, ...) = (void *)objc_msgSend;
#define objc_msgSend old_msgSend

stianhoiland avatar Oct 30 '24 06:10 stianhoiland