-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating to iOS 8 #73
Comments
try this: void (*my_objc_msgSend)(id, SEL, bool) = (void (*)(id, SEL, bool)) objc_msgSend;
my_objc_msgSend(suspendStatusChangeTarget, suspendStatusChangeSelector, manualSuspendLock); |
I got EXC_BAD_ACCESS from that fix when the method is invoked. Following this advice from StackOverflow (http://stackoverflow.com/questions/2650190/objective-c-and-use-of-sel-imp) seems to have fixed it:
|
PS made a fork/pull req with this fix |
kstenerud
added a commit
that referenced
this issue
Nov 30, 2014
Replace crashing objc_msgSend call with SEL/IMP approach Issue #73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
upgrading my app to iOS 8. Getting the following error when building for the first time
OALSuspendHandler.m
"Too many arguments to function call, expected 0, have 3"
objc_msgSend
The text was updated successfully, but these errors were encountered: