In iOS 15, when the app is restarted, it immediately crashes.

After the iOS 15 update, the following process causes the app to die.

  1. Go to the home screen while running the app
  2. Completely quit by removing the background state of the app
  3. Start by pressing the icon on the home screen
  4. As soon as the app is opened in the state it was in when the previous home screen was moved, there is a symptom that the app dies.

There was no such symptom until iOS 14.

Is this symptom a bug in iOS 15 ? Or is there a new option for background state of apps in iOS 15?

So…can you explain how to correct this to a 5th grader. I’m not very tech savvy.

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);

}

We have the same problem and we use Scenes to our react-native project in order to implement CarPlay for iOS devices.

Could this be related to this issue?

Well the problem for us it seems to be that we are using "Scenes" in our app in order to implement the "PointOfInterest" template for the CarPlay. If we exclude it the app launches just fine. But using "Scenes", after ~30min (app closed) the app launches but nothing renders correctly in terms of positioning.

In iOS 15 started a prewarming of apps in order to launch faster (https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/about_the_app_launch_sequence?language=objc#3894431) and we think this triggers these bugs.

Any idea on this ?

We finally manage to solve it. It was a problem because of using 'SceneDelegate' (for multiple scenes support) and iOS15 'prewarming' new feature. Solved by transferring the RTCBridge protocol from AppDelegate -'didFinishWithLaunchOptions' to SceneDelegate - 'willConnectToSession'.

Devices with older round home buttons seem to be less prone to the above symptoms. And it seems that the above symptoms occur more often on devices that do not have a circular home button. (This usually happens on notch devices)

Sometimes the app appears in the list again after completely closing the app in the background state.

Hello everyone,

it seems that there is a solution which is amazing but, is there any way that a non technical iPhone user can fix it ?

Thank you, Dragos

This is happening on all iOS 15 apps.

  1. Open the app
  2. Close the app and quickly reopen. This will cause the app to crash if you do it fast enough. It seems to work as expected if you wait at least one second before reopening.

To resolve this issue close ALL background apps so the "recent apps" are empty. When you do this, the problem in step 2 does not happen. To "re-activate" the crash, open 5 to 10 apps and put them in the background. All apps will then continue to crash when re-opening.

I noticed this. If at least one (!) other app is running in the background:

  1. Open your app
  2. Kill/close your app
  3. Quickly re-run your app
  4. Almost everytime app crashes

This has to be iOS 15 bug.

on IOS 15.5 issue still persists:(((( it just ruins my user interface and my usage😩

Hello, any news about that issue? It remains on iOS 16.

any solution? it still keeps crashing

Apple won’t fix or do sh t they’re system is so complex that they can’t help you, you’re best bet is to switch to android.

In iOS 15, when the app is restarted, it immediately crashes.
 
 
Q