Post

Replies

Boosts

Views

Activity

Reply to In iOS 15, when the app is restarted, it immediately crashes.
I'm facing the same issue on IOS 15. And I found that --- SIGPIPE Crash, if your project contains Socket , #import <UIKit/UIKit.h> #import "AppDelegate.h" //#import "MatrixHandler.h" #import <signal.h> int main(int argc, char * argv[]) {     NSString * appDelegateClassName;     @autoreleasepool {         struct sigaction sa;         sa.sa_handler = SIG_IGN;         sigaction(SIGPIPE, &sa, 0);         // Setup code that might create autoreleased objects goes here.         appDelegateClassName = NSStringFromClass([AppDelegate class]);     }     return UIApplicationMain(argc, argv, nil, appDelegateClassName); }
Dec ’21