Xamarin carplay supported ios app crashes when starting

Mehmet Sandıklı 0 Reputation points
2023-09-06T10:59:45.6+00:00

Our app crashes as soon as it is launched after carplay integration. if i install directly (from ipa) it works. But if I install from testflight it crashes. If you remove

    <key>UIApplicationSceneManifest</key>
<dict>
<key>UISceneConfigurations</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<true/>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneClassName</key>
<string>UIWindowScene</string>
<key>UISceneConfigurationName</key>
<string>__ABC_DEFAULT_SCENE_CONFIGURATION__</string>
<key>UISceneDelegateClassName</key>
<string>DeviceSceneDelegate</string>
</dict>
</array>
<key>CPTemplateApplicationSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneClassName</key>
<string>CPTemplateApplicationScene</string>
<key>UISceneConfigurationName</key>
<string>ABC-Car</string>
<key>UISceneDelegateClassName</key>
<string>CarPlaySceneDelegateABC</string>
</dict>
</array>
</dict>
</dict>
<key>CFBundleName</key>
<string>ABC</string>


from Info.plist problem is solved but carplay is disabled.

I tried delete this code below and problem is solved but carplay disabled.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.