RocketBootstrap on iOS 13 failed because of "rocketbootstrap_cfmessageportcreateremote"
linzhang2015 opened this issue · 0 comments
linzhang2015 commented
CFMessagePortRef messageTouchPort = rocketbootstrap_cfmessageportcreateremote(kCFAllocatorDefault, CFSTR(SPRINGBOARD_MACH_PORT_NAME));
if (!messageTouchPort || !CFMessagePortIsValid(messageTouchPort)) {
NSLog(@"************Error: MessagePort is invalid");
return FALSE;
}else{
CFMessagePortInvalidate(messageTouchPort);
CFRelease(messageTouchPort);
return YES;
}
I found this method "rocketbootstrap_cfmessageportcreateremote" failed on iOS13.3, then "************Error: MessagePort is invalid" is printed. What can I do with that?
Thank you very much.