Saturday, February 10, 2024
HomeiOS DevelopmentWhy does this code impasse on ios 15 and up?

Why does this code impasse on ios 15 and up?


i’ve a jailbreak tweak that works effectively on ios 14 and decrease. Basically what it does is, it halts the primary thread for just a few seconds to get knowledge from server then continues the primary thread. That is as a result of tweak requiring info earlier than the appliance being injected to is definitely absolutely loaded

This community request is fairly fast the longest it has taken id say can be 3-5 seconds possibly much less.

I been making an attempt to get this code to work on iOS 15 and up however for some motive i get a impasse. And Apple WatchDog kills the app because it hangs for therefore lengthy i dont perceive why it does that.

Ive tried dispatch group as effectively and identical challenge.

%ctor {
supervisor = [[RMzManager alloc] init];
dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
[RMzManager preSetup: ^(BOOL success) {
  DDSNDPBV();
  _dyld_register_func_for_add_image(&MOVSVWIIMTMX);
  dispatch_semaphore_signal(semaphore);
}];
});
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), NULL, &didFinishLaunching, (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL, CFNotificationSuspensionBehaviorDeliverImmediately); // DO NOT TOUCH
}

Thanks for the assistance



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments