top of page

58. CarPlay: Frequently Asked Questions (FAQs)

Writer's picture: Hui WangHui Wang

Updated: Sep 13, 2022



Why is the CarPlay option disabled in the Simulator menu: "I/O > External Displays > CarPlay?"


You may not have applied for CarPlay Entitlements on the Apple developer website and imported the configuration file into your project.


Requesting CarPlay Entitlements:




Why doesn't my app show up when opening CarPlay Simulator?


You need to add the Key com.apple.developer.carplay-audio to Entitlements.plist and set the Value to true.

<key>com.apple.developer.carplay-audio</key>
<true/>



Why does the M1 Mac crash when opening the CarPlay app?


If you have an M1 Mac, CarPlay Simulator may not be available.


If your Xcode is running in Rosetta mode, launching the CarPlay app will crash instantly.


Running the Simulator in Rosetta mode won't solve the issue. There is currently no solution yet.


Reference:




The page will display an exception when returning to your CarPlay app from the "Now Playing" app.


It might be an Apple bug. This issue may occur on both simulators and real devices.


Steps to reproduce:

  1. Don't start your CarPlay app

  2. Play audio in your iPhone app

  3. Open CarPlay's "Now Playing" app

  4. Return to your CarPlay app via the "Now Playing" app


Possible issues:

  1. UITabBarItem overlaps.

  2. CPListImageRowItem should only show four images, but instead, it shows five images.

Switch the template, exit the background and then enter the CarPlay app. The views return to normal.




Why are the images on CarPlay blurry?


Both local images and asynchronous images need to be adapted to scale.


 

Follow me on:

Comments


Never Miss a Post. Subscribe Now!

I am an iOS developer, and I will share some knowledge related to iOS development from time to time.

Thanks for submitting!

© 2022 by (Foks) Hui Wang

bottom of page