URLSessionConfiguration Crash
Issue Description
Xcode 26 beta introduces a bug that may cause your app to crash when integrating multiple libraries—such as RevenueCat's SDK—that utilize URLSessionConfiguration. This issue occurs when running the app on iOS 26 simulators.
You can find more information in the following Apple Developer Forum thread.
Affected Versions
- Xcode 26 beta
- iOS 26 simulators
Symptoms
- Your project includes libraries in addition to RevenueCat.
- The app crashes immediately upon launch when using Xcode 26 beta with iOS 26 simulators.
Workarounds
While awaiting a fix from Apple, a temporary workaround is to initiate a networking call early during app initialization. This appears to prevent the crash.
- Networking call workaround
// App Initialization
import Networking
@main
struct MyApp: App {
init() {
nw_tls_create_options()
}
}
// AppDelegate Initialization
import Networking
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
nw_tls_create_options()
Purchases.configure(withAPIKey: "redacted")
return true
}
}
Apple Feedback
For ongoing updates, refer to this Apple Developer Forum thread. If the workaround above does not resolve the issue, please consider filing a bug report within that thread.
Status
🕰️ Waiting on Apple's resolution.