You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You don't need a such workaround to make it to work on simulator.
// Workaround to make the Now Playing working on the simulator:
// Source: https://stackoverflow.com/questions/52818170/handling-playback-events-in-carplay-with-mpnowplayinginfocenter
UIApplication.shared.endReceivingRemoteControlEvents()
UIApplication.shared.beginReceivingRemoteControlEvents()
I have a radios application that support carPlay too and run in simulator without workaround (written in objC).
MPNowPlayingInfoPropertyPlaybackRate is very important:
The documentation say:
MPNowPlayingInfoCenter
Use MPNowPlayingInfoCenter to populate the CarPlay Now Playing screen with information. MPNowPlayingInfoCenter allows you to specify metadata such as title, artist, elapsed time, playback queue, playback rate and album artwork.
When running your app in the Simulator, the media playback features are not the same as running on iPhone. On iPhone running CarPlay, the play button in the CarPlay Now Playing screen is automatically managed by iOS and changes state based on whether audio is playing. In contrast, the play button in the Simulator relies on the state of the playback rate in Now Playing Info Center. You should ensure that Now Playing Info Center always has the correct playback rate. When playback is stopped, be sure to set the MPNowPlayingInfoPropertyPlaybackRate property to 0.0.
Apple recommends you always supply a MPMediaItemPropertyPersistentID property.
If your app has the concept of a playback queue, set MPNowPlayingInfoPropertyPlaybackQueueIndex and MPNowPlayingInfoPropertyPlaybackQueueCount. Starting in iOS 10, this information is shown on the Now Playing screen.
If your app plays live streaming content, set MPNowPlayingInfoPropertyIsLiveStream to YES.
The best player and the best tutorial for Apple Car Play. I did try blatantly to implement the same by my own a time ago and now seeing your code so clean and detailed only i can say KUDOS! Thanks for share!
@fethica
But if we have not a paid account developer, we cannot test it with real phone??
When I opened https://developer.apple.com/contact/carplay/ it said that I have not the permission to view this page 🤨
Is there a solution for "free" out there ?
Please contact Hyundai! I have a BMW and it works fine with my app and with this example!
And you being a developer for some reason thought contacting Hyundai will solve the problem? Didn't you said above it was bug in Xcode 11? And I am using latest version of Xcode, not the beta version.
I tried with another CarPlay head unit, its a some problem. I bet your BMW was custom made with stable Xcode installed lol.
Hi Fethica,
Hope you doing well.
I made an navigation app for my apple car play. Its icon and start screen is displaying fine over the carplay simulator but the map is not displaying.
Is there any way by which we can show only map directly to carplay screen instead of home screen.
Hello,
Just offering insight here: the issue is a bug that Apple needs to fix with iOS 13 and CarPlay in the simulator.
Instead of using an iOS 13 simulator, choose an iOS 12 simulator and it should work.
On Jan 30, 2020, at 11:08 AM, Swapangeet ***@***.***> wrote:
Hi Fethica,
Hope you doing well.
I made an navigation app for my apple car play. Its icon and start screen is displaying fine over the carplay simulator but the map is not displaying.
Is there any way by which we can show only map directly to carplay screen instead of home screen.
Regards
Sj
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, Just offering insight here: the issue is a bug that Apple needs to fix with iOS 13 and CarPlay in the simulator. Instead of using an iOS 13 simulator, choose an iOS 12 simulator and it should work. …
On Jan 30, 2020, at 11:08 AM, Swapangeet @.***> wrote: Hi Fethica, Hope you doing well. I made an navigation app for my apple car play. Its icon and start screen is displaying fine over the carplay simulator but the map is not displaying. Is there any way by which we can show only map directly to carplay screen instead of home screen. Regards Sj — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Dan can we run both on same machine or we should remove one of it as the later version will ask for update.
Thanks
@fethica, I just finished doing a number of upgrades to my heavily-modified version of the app, most specifically switching over to UIScene and upgrading to the new non-deprecated CarPlay setup. I will see if I can backport the changes to the current version of HEAD here. Will open a PR if I can get it working. It was a pain. 🤕
Activity
losgranos commentedon Feb 11, 2019
Yes! Thx
iDevelopper commentedon Feb 11, 2019
You don't need a such workaround to make it to work on simulator.
I have a radios application that support carPlay too and run in simulator without workaround (written in objC).
MPNowPlayingInfoPropertyPlaybackRate is very important:
The documentation say:
analogcode commentedon Feb 11, 2019
@fethica is the man! 🎉🙏
fethica commentedon Feb 12, 2019
Thanks for the feedback @iDevelopper I will check your code.
urayoanm commentedon Feb 12, 2019
The best player and the best tutorial for Apple Car Play. I did try blatantly to implement the same by my own a time ago and now seeing your code so clean and detailed only i can say KUDOS! Thanks for share!
DavidKalajdzic commentedon Jun 15, 2019
@fethica
But if we have not a paid account developer, we cannot test it with real phone??
When I opened https://developer.apple.com/contact/carplay/ it said that I have not the permission to view this page 🤨
Is there a solution for "free" out there ?
fethica commentedon Jul 16, 2019
@DavidKalajdzic if you can't access the CarPlay form page with a regular account, so I think you have to get a paid developer account!
sarafdar commentedon Jul 16, 2019
Even with this workaround -
UIApplication.shared.endReceivingRemoteControlEvents()
UIApplication.shared.beginReceivingRemoteControlEvents()
Nowplaying screen not appearing on the simulator, what could be the reason?
Please help.
nimisis commentedon Aug 14, 2019
This works beautifully on XCode 10 but not so on XCode 11.0 beta (11M336w) running iOS 13... Anyone else just get a blue button?

iDevelopper commentedon Aug 15, 2019
Yes
tester89 commentedon Aug 15, 2019
How can we make carPlayTab colorful instead of blue overlay?
iDevelopper commentedon Aug 15, 2019
This is an Apple Simulator Bug in Xcode 11 beta. It works fine in a car!
adminholic commentedon Aug 17, 2019
Hi, I did try in my Hyundai car CarPlay but it still shows blue icon.
iDevelopper commentedon Aug 18, 2019
Please contact Hyundai! I have a BMW and it works fine with my app and with this example!
adminholic commentedon Aug 24, 2019
And you being a developer for some reason thought contacting Hyundai will solve the problem? Didn't you said above it was bug in Xcode 11? And I am using latest version of Xcode, not the beta version.
I tried with another CarPlay head unit, its a some problem. I bet your BMW was custom made with stable Xcode installed lol.
iDevelopper commentedon Aug 25, 2019
I said it is a bug in Xcode 11 using the example on simulator. Works fine in my car either with Xcode 10 or 11.
DanBurkhardt commentedon Jan 7, 2020
Works fine using iOS 12, but any version of iOS 13 presents the bugs mentioned above and it is impossible to get it working in the CarPlay simulator.
Sj7800 commentedon Jan 30, 2020
Hi Fethica,
Hope you doing well.
I made an navigation app for my apple car play. Its icon and start screen is displaying fine over the carplay simulator but the map is not displaying.
Is there any way by which we can show only map directly to carplay screen instead of home screen.
Regards
Sj
DanBurkhardt commentedon Jan 30, 2020
Sj7800 commentedon Jan 30, 2020
Dan can we run both on same machine or we should remove one of it as the later version will ask for update.
Thanks
joemcmahon commentedon Nov 13, 2025
@fethica, I just finished doing a number of upgrades to my heavily-modified version of the app, most specifically switching over to UIScene and upgrading to the new non-deprecated CarPlay setup. I will see if I can backport the changes to the current version of HEAD here. Will open a PR if I can get it working. It was a pain. 🤕
bravekingzhang commentedon Nov 13, 2025