iosswiftuiscenedelegatecarplayuiscene

[Carplay]: Crash of the main app at viewcontroller presentation while having the carplay app opened at the same time


I just implemented our new Carplay feature @Qobuz but I'm having a weird crash that I can't find an answer at.

Scenario:

Context:

Here is the crashlog: Crashlog

Here is the Info.plist Scene Manifest

<key>UIApplicationSceneManifest</key>
<dict>
    <key>UIApplicationSupportsMultipleScenes</key>
    <true/>
    <key>UISceneConfigurations</key>
    <dict>
        <key>CPTemplateApplicationSceneSessionRoleApplication</key>
        <array>
            <dict>
                <key>UISceneClassName</key>
                <string>CPTemplateApplicationScene</string>
                <key>UISceneConfigurationName</key>
                <string>${CARPLAY_SCENE_ID}</string>
                <key>UISceneDelegateClassName</key>
                <string>$(PRODUCT_MODULE_NAME).CarplaySceneDelegate</string>
            </dict>
        </array>
        <key>UIWindowSceneSessionRoleApplication</key>
        <array>
            <dict>
                <key>UISceneClassName</key>
                <string>UIWindowScene</string>
                <key>UISceneConfigurationName</key>
                <string>${APP_SCENE_ID}</string>
                <key>UISceneDelegateClassName</key>
                <string>$(PRODUCT_MODULE_NAME).AppSceneDelegate</string>
            </dict>
        </array>
    </dict>
</dict>

Hopefully one of you will work his magic to get me out of this :)

Thanks in advance !


Solution

  • After some investigation, it appears the crash was not on our side but due to Instabug iOS SDK. They have been warned of the issues and corrected it in version 10.7.1 and I can confirm that our app has stopped crashing