In IOS 15, When The App Is Restarted, It Immediately Crashes.

  • Global Nav Open Menu Global Nav Close Menu
  • Apple Developer
Search
  • Apple Developer
  • News
  • Discover
  • Design
  • Develop
  • Distribute
  • Support
  • Account
Only search within “”

Quick Links

5 Quick Links Developer Forums Search for a topic, subtopic, or tag Clear search query Local Nav Open Menu Local Nav Close Menu
  • Search
Post Profile
  • Sign in
  • Create account
In iOS 15, when the app is restarted, it immediately crashes. App & System Services Core OS Background Tasks You’re now watching this thread. If you’ve opted in to email or web notifications, you’ll be notified when there’s activity. Click again to stop watching or visit your profile to manage watched threads and notifications. You’ve stopped watching this thread and will no longer receive emails or web notifications when there’s activity. Click again to start watching. Kim Ju Young OP Created Sep ’21 Replies 29 Boosts 2 Views 28k Participants 27

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?

Boost Copy to clipboard Share this post Copied to Clipboard Replies 29 Boosts 2 Views 28k Participants 27 DTS Engineer OP Apple Sep ’21

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

Is this your app? Or an app from some other third-party developer?

Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"

1 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment Suin OP Sep ’21

I have same issue in my iPhone12 iOS 15.0 (other device not happened), it happened in all apps, include those Apple's app (AppStore, Notes, Weather etc...)

1 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment DTS Engineer OP Apple Sep ’21

Suin, If you’re having problems with Apple apps, that’s something you need to discuss with Apple Support.

Kim Ju Young wroet:

Not only our app, but also other company/individual apps have the same symptoms.

You mean apps from the App Store? Or other Development- or Enterprise-signed apps?

If you’re having problems with other app from the App Store, contact the app’s developer. However, if you’re having problems with a Development- or Enterprise-signed app that you created, I can help you here.

In that case, when you app crashes, does it generate a crash report? If so, please post an example here.

For advice on how to post a crash report, see Posting a Crash Report.

Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"

0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment EinarNotland OP Sep ’21

We experience the same. The app sometimes crash on startup, and then work again just afterwards.

The app shows splashscreen, then quickly fades to a blurred home screen and then disappears.

1 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment Christina Chan OP Oct ’21

Same situation happens on my iPhoneXS max with iOS15.0.2 to 15.1, when iPhone6S with iOS15.0.1 does not have such problem.

0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment appsatapple OP Nov ’21

I can watch this behavior by just deploy my app on a phone (device) with iOS 15. My app never crashes on iOS 14.8 but move it to iOS 15 the app crashes sometimes. Always after reactivating from background. This is monitored by many testers which stated that this happens also to many other apps. There is something changed by Apple and very nice to see that there is no answer from Apple here.

0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment DTS Engineer OP Apple Nov ’21

there is no answer from Apple here.

What sort of answer were you expecting? A month ago I wrote:

In that case, when you app crashes, does it generate a crash report? If so, please post an example here.

No one responded with a crash report, which makes it hard for me to offer any insight into this issue.

Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"

3 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment michalis-ligopsychakis OP Nov ’21

Hello everyone.

I have a similar issue in an iOS react-native app after iOS 15 upgrade but with not a crash.

If someone opens the app after ~1 hour from the last time he/she opened it, the app skips the SplashScreen and after that nothing renders correctly. The positioning and order of components are wrong.

This happens only the first time after ~1hour of app being closed.

3 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment Akh-Ra OP Nov ’21

I'm experiencing the same issue, I think. I'm testing with a simple app with a simple fullscreen map... If I launch the app on my iPhone connected by cable with my Mac everything is ok. If I launch it "disconnected" I have this crash.

libc++abi: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Full crash 0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment DTS Engineer OP Apple Nov ’21

If I launch it "disconnected" I have this crash.

OK, something is wonky here. Your text mentions a mutex lock failed error but the crash report you posted has a backtrace like this:

Last Exception Backtrace: 0 CoreFoundation … __exceptionPreprocess + 216 1 libobjc.A.dylib … objc_exception_throw + 56 2 CoreFoundation … __CFDictionaryCreateGeneric + 0 3 UIFoundation … UINibDecoderDecodeObjectForValue + 408 4 UIFoundation … UINibDecoderDecodeObjectForValue + 1252 5 UIFoundation … -[UINibDecoder decodeObjectForKey:] + 308

which clearly indicates a UIKit nib decoding issue. How is this crash report related to the mutex lock failed error?

Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"

0 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment DTS Engineer OP Apple Dec ’21

You can actually reproduce it with any app.

So, you can reproduce it using only built-in apps? If so, that’s clearly a bug in the OS (there’s no one else to blame! :-) and I encourage you to file it as such.

Please post your bug number, just for the record.

Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"

1 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment shoaibahmad OP Dec ’21

We are experiencing the same issue. We had deployed an app last year. It's been working fine till the end of November when our client reported crashes on the app since they upgraded to iOS 15.1.1. According to them, the app was working fine on iOS 14.8. For testing purposes, we kept one of our devices to 14.2 and enrolled the other to the 15.2 beta. The results are, the app runs smoothly on 14.2 and even on 15.0. But on 15.1.1 and 15.2, there are crashes and they are mainly caused by NSPersistentStoreCoordinator where we have been dealing with privateConcurrency contexts. The crashes we mainly experience on latest OS say EXC_BAD_ACCESS. I do not know how this is linked with the crashes. Still waiting for some workaround. Anybody facing the same issue??

3 comments 1 Copy to clipboard Share this post Copied to Clipboard Load more Add comment mfadi31 OP Dec ’21

I'm running into the same issue app is crashing on IOS 15 when launch. any solution?

1 comments 0 Copy to clipboard Share this post Copied to Clipboard Load more Add comment userff OP Dec ’21

is your phone language English?

i have noticed that if changing device language , this issue no longer Exists!

3 comments 1 Copy to clipboard Share this post Copied to Clipboard Load more Add comment shoaibahmad OP Dec ’21

So we are finally out of this problem. The issue was the CoreData thread violations. Thanks to the community's suggestion, we passed the -com.apple.CoreData.ConcurrencyDebug 1 argument and this helped figuring out all the violations which caused multiple crashes. After adding appropriate concurrency queues to the NSManagedObjectContext, we were able to run the app flawlessly on iOS 15.x.

3 comments 1 Copy to clipboard Share this post Copied to Clipboard Load more Add comment
  1. First
  2. Page 1 of 2
  3. Last
In iOS 15, when the app is restarted, it immediately crashes. First post date Last post date Q

Tag » Apps Don't Work After Ios 15 Update