diff --git a/AltStore/LaunchViewController.swift b/AltStore/LaunchViewController.swift index 866768db..bfb72ec0 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -172,7 +172,19 @@ extension LaunchViewController { let title = error.userInfo[NSLocalizedFailureErrorKey] as? String ?? NSLocalizedString("Unable to Launch SideStore", comment: "") - let alertController = UIAlertController(title: title, message: error.localizedDescription, preferredStyle: .alert) + let errorDescription: String + + if #available(iOS 14.5, *) + { + let errorMessages = [error.debugDescription] + error.underlyingErrors.map { ($0 as NSError).debugDescription } + errorDescription = errorMessages.joined(separator: "\n\n") + } + else + { + errorDescription = error.debugDescription + } + + let alertController = UIAlertController(title: title, message: errorDescription, preferredStyle: .alert) alertController.addAction(UIAlertAction(title: NSLocalizedString("Retry", comment: ""), style: .default, handler: { (action) in self.handleLaunchConditions() }))