You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

CarPlay setRootTemplate crashed (Allowed classes: (null)) on simulator and working fine on other system

Getting below crash when run Apple official CarPlay Demo on simulator but working fine in other system.


CarPlayTutorial[18440:282424] *** Terminating app due to uncaught exception  
'NSInvalidArgumentException', reason: 'Unsupported object <CPTabBarTemplate: 
0x600000621170> <identifier: B5E32A00-9E81-4211-893F-4CC5FE7F2812, userInfo: (null), 
tabTitle: (null), tabImage: (null), showsTabBadge: 0> passed to 
setRootTemplate:animated:completion:. Allowed classes: (null)'




Posted on Oct 11, 2022 10:17 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 12, 2022 4:53 AM

Got solution on M1 chip system disable Open using Rosetta.


Right click on the Xcode from application folder and select Get Info -> Disable Open using Rosetta option.

Similar questions

2 replies

CarPlay setRootTemplate crashed (Allowed classes: (null)) on simulator and working fine on other system

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.