Add CarPlay support to your navigation app using CarPlay.

CarPlay Documentation

Posts under CarPlay tag

65 Posts
Sort by:
Post not yet marked as solved
1 Replies
389 Views
I have applied for CarPlay support here Apply here to get your app approved for CarPlay use: https://developer.apple.com/contact/carplay/ but have not received any acceptance or answers. Does anyone know what to do?
Posted
by
Post not yet marked as solved
13 Replies
2.4k Views
I installed iOS 14 Beta on my iPhone 11 and Carplay suddenly stopped working on my BMW 318 2017. I’ve checked that bold text is off, restarted both iPhone and head unit, made sure that Siri is on. Every time I try to connect I get an error “Unable to Establish Connection” It worked just fine before the update.
Posted
by
Post not yet marked as solved
1 Replies
879 Views
Hi, we are currently integrating the new CarPlay experience in iOS 14 (com.apple.developer.carplay-audio) in our radio app and already use MPNowPlayingInfoCenter and MPRemoteCommandCenter. In this context we came across some weird behavior: when playing a live stream (MPNowPlayingInfoPropertyIsLiveStream = true) the NowPlayingTemplate on CarPlay always displays the stop button even when we only configure for play and pause button. The stop button then doesn't do anything (because we didn't assign any action to it). Also are other actions like skipBackwards and nextTrack disabled. When declaring the audios property to not live, everything works fine. Is there any way we can have a live stream and also make the template display pause button and enable other actions?
Posted
by
Post not yet marked as solved
0 Replies
388 Views
I'm developing a CarPlay Audio app that works with both 13.x and 14.x. iOS 13.x uses Media Player framework and iOS 14.x uses CarPlay framework. The code for iOS 14.x is designed to work on 14.0 and above as shown below. @available(iOS 14.0, *) class CarPlaySceneDelegate: UIResponder, CPTemplateApplicationSceneDelegate {   var interfaceController: CPInterfaceController? However, when I run it on 13.7, it crashes when the app starts. I've found that using one of the following methods causes the app to crash: CPNowPlayingAddToLibraryButton CPNowPlayingMoreButton CPNowPlayingRepeatButton CPNowPlayingShuffleButton CPNowPlayingPlaybackRateButton CPNowPlayingImageButton Only the CPNowPlayingButton is ok. Why does code that should only work on iOS 14 and above affect iOS 13? The following simple code crashes when running on iOS 13: import UIKit import CarPlay @main class AppDelegate: UIResponder, UIApplicationDelegate {   func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {           if #available(iOS 14, *) {       _ = CPNowPlayingShuffleButton { (button) in       }     }     return true   }
Posted
by
Post marked as solved
2 Replies
1k Views
I am developing two CarPlay apps where one is navigation app and other is Food Ordering app. My requirement is to launch navigation app from Food Ordering app after successfully placing an order to show navigation to restaurant. I tried it by handling URL schemes in sample CarPlay navigation app provided by Apple. Here is code which I implemented in Food order app: let coastalHooks = "CoastalRoads://"       if let coastalUrl = URL(string: coastalHooks) {         if UIApplication.shared.canOpenURL(coastalUrl) {           UIApplication.shared.openURL(coastalUrl)         }       } As In CoastalRoads app there are two scene delegates are handled one is 'LoggerWindowSceneDelegate', which is for main phone app and other is 'TemplateApplicationSceneDelegate', which is for CarPlay but didn't found anything to launch specific scene of CarPlay. Here is link where from I downloaded sample CarPlay app: https://developer.apple.com/documentation/carplay/integrating_carplay_with_your_navigation_app
Posted
by
Post marked as solved
22 Replies
4k Views
Basic Information Automation forcing to tap on screen - application run command is not reacting to 'ask when run' unslide during connection or disconnection to Carplay https://discussions.apple.com/content/attachment/00d1627f-dcaa-4ddf-995a-c1b75560d096 translation: When connecting to Carplay Tap, to run "open application Next" Issue I have noticed since iOS 14.3 and iOS 14.4 automations are working different with Carplay. Previously i was able to create the automation with follwing steps: open waze open spotify open sygic Of course i set it to 'do not ask when run' and set to run when i am connecting. At now, the automation is forcing me me to confirm by tapping the phone each time i am entering the car to allow the 'open' command for application what i want to run in background. Commands like 'play' or 'turn on gsm' are working without confirmation, but 'run app' not. Most probably the issue is not related only to Carplay automation, but for Automation as is. I tested on few carplay units, all same effect, BMW 330i F30 OEM carplay, BMW 428i F32 + Andream MMI Steps to reproduce: create automation for Carplay unslide 'ask to run' add 'open appliction' as action lock the phone and ensure it is locked in pocket turn on the car with paired carplay observe the automation is NoT running while connecting do Carplay. on the phone you will see notification about allowig app to run. I tested it also on my second phone with 14.0.2 ios (older) and is working perfectly. Whan i unlide 'ask to run' it is just opening an apps and not asking them to run. Raised on feedback but nobody seems to care: https://feedbackassistant.apple.com/feedback/8950377 https://discussions.apple.com/thread/252212356?login=true&page=1 How can i submit that to Apple to get at least any response?
Posted
by
Post not yet marked as solved
0 Replies
509 Views
Hi, My account was approved for the com.apple.developer.playable-content entitlement, but now it's deprecated and I want to switch to the new one com.apple.developer.carplay-audio. I have some problems making the transition, do I need to submit a new request to Apple for the new entitlement? Thanks.
Posted
by
Post not yet marked as solved
1 Replies
623 Views
Hi devs! I use apple car play (ACP) in my Vw Tiguan. I have used it for over three years with no issues . since IOS 14.6 ACP no longer functions as it did for google navigation. there was a red voice button available within maps , when selected you just said what address you wanted . ACO/google maps then provided the address with options. The red voice button has now been removed from the menu. The red button was called voice. I have unpaired my phone and re-paired i have turned the phone off snd on same as the car . Siri is enabled . there have been no software updates to the far in the last 6 months . this appears to be a defect introduced within IOS 14.6 and probably require remedial action by the development team. I have been through this with a level 2 senior support person and this now seems the only viable solution. please advise on a fix. thank you chillyman
Posted
by
Post not yet marked as solved
0 Replies
346 Views
Hello everyone! I am adding in my react native project the CarPlay framework via native code and in PointOfInterest I want to add the 'primaryButton' on the 'Details Card'. So as I saw in the docs (https://developer.apple.com/documentation/carplay/cppointofinteresttemplate?language=objc) there is the property of 'primaryButton' for this template but it's not added somehow on CPPointOfInterest when 'Creating a PointOfInterest template'.. So how can I added...? Any help is welcome :)
Post not yet marked as solved
0 Replies
285 Views
Hi, I'm developing an app to control in-car & orv accessories. Having this available via carplay would make driving safer and more convenient, is there a template I could use/reuse to accomplish this?
Posted
by
Post not yet marked as solved
0 Replies
320 Views
Is it possible to start the main UIScene manually for the phone when launching the app from CarPlay first? If the phone app is closed and launched from CarPlay, then the UIWindowScene isn't created for the phone. Just looking if there's an easy way to instantiate the phone's UIScene programatically using UIApplication
Posted
by
Post marked as solved
1 Replies
342 Views
I am finding a way to get car odometer value using a car smart system. like Android Auto, and Apple CarPlay Is there any library or class to get car information from CarPlay, like car sensors, car speed, odometer value, etc? In android, there is one library call android.car which provides all kinds of car information like, car speed, fuel, odometer value, tire pressure, door status, etc. I am finding a library for apple CarPlay to, get the above car information Thanks
Posted
by
Post not yet marked as solved
0 Replies
232 Views
1.Connect iPhone to car, 2.Kill the music app, 3.Open the app and play a song 4.Click the NowPlaying of CarPlay. 5.Click the back button of CPNowPlayingTemplate. The bug definitely show。How to solve it?
Posted
by
Post not yet marked as solved
0 Replies
239 Views
I am facing problem while trying to implement POC of integrating CarPlay-plugin inside our reference android based IVI platform. Mobile device is sending TearDown request immediately after sending RECORD request. In ATS Utility, getting message as Certificate Class version 6 (Non-Automotive). Please confirm if this certificate is valid for using CarPlay in Infotainment System.
Posted
by
Post not yet marked as solved
1 Replies
770 Views
Hi, We have an app that already supports Apple CarPlay, but the current app version only supports com.apple.developer.playable-content which is now depricated, I already create a new provisioning profile with the (Carplay Audio Carplay Framework) but when i download the new provisioning profile, xcode says "Provisioning profile doesn't include the com.apple.developer.carplay-audio entitlement. And i can confirm that the profile doesnt include it with the command line "security cms -D -i App.mobileprovision | xmllint --xpath "/plist/dict/key[text()='Entitlements']/following-sibling::dict[position()=1] but in the developer portal it says the provisioning profile includes carplay Framework... Do i miss some steps? (Btw my entitlements file includes both carplay-audio and playable-content keys)
Posted
by
Post not yet marked as solved
39 Replies
13k Views
Hi. I just setup my iPhone 13 yesterday. I went to go somewhere, plugged in my phone with Apple carplay (I have a 2020 Honda Civic, same head unit from 2016-2021). It connects fine, but I soon as I go to play music, it crashes. My head unit says something along the lines of it’s not compatible. I tried everything from hard reset and resetting the head unit, nothing works. Tried looking it all my settings both iPhone and head unit, nothing works at all. I need help asap. Paid a lot of money for this phone and I’m very disappointed. RUNNING IOS 15
Posted
by
Post not yet marked as solved
0 Replies
250 Views
Hey, We are developing a CarPlay application, already requested the entitlements to Apple and they were granted. We added the Additional Capabilities to the specifics App ids that we wanted and generated new provisioning profiles for them. The entitlements are shown in the developer portal as can be seen in the screenshot It's working great for the Development profile. The problem we are facing is that, on the App Store profile, the entitlements are gone in the downloaded file. Has anybody ever faced anything like this? Do we need additional permissions to be able to deploy a CarPlay application to production? Cheers, Daniel
Posted
by
Post not yet marked as solved
1 Replies
234 Views
How can I show Map on carplay display in iOS 14.0 above. Is there any way to check map navigation on carplay display screen?
Posted
by
Post not yet marked as solved
0 Replies
171 Views
I've been looking everywhere and can't find an answer on how to style these templates and more specifically the CPGridButton that has some blue background on the title.
Posted
by