Assuming that I have an iOS app which is managing the payment method of the user (e.g. credit card), what is preventing me to build a CarPlay app (e.g. EV charging app) with a button that triggers the payment of the charging station?
I mean, what are the advantages that will be introduced with iOS 16 that will allow the payment of gas stations from CarPlay?
Post not yet marked as solved
Hello!
Is there a possibility to test automaker-type app on newly released in additional tools CarPlay simulator?
Our application is not showing on it, and i assume the problem is that we didn't put proper protocol string.
Post not yet marked as solved
I only have the simulator for testing currently, so perhaps it's a quirk of the simulator.
I have an audio app. I want to keep the view on the phone in sync with state of my player, which involves setting the isPlaying property on on the CPListItems in the list. When I change its value, the list scrolls to the top. I would rather have the list scroll to reveal the playing item, or not at all.
Post not yet marked as solved
I have a custom intent that allows a user to start a meeting - they don’t have to pick up their phone at all to start/join the meeting. This works perfectly on device - the intent is created, confirmed, and goes to the custom intent handle(intent:completion:) function where I call completion(StartMeetingIntentResponse(code: .continueInApp, userActivity: userActivity)). This opens the app and starts the meeting - all hands-free.
When my device is connected via CarPlay, this intent can’t be completed. It gets all the way to where I call completion(StartMeetingIntentResponse(code: .continueInApp, userActivity: userActivity)), then Siri responds with “Sorry, I can’t do that while you’re driving.” It never makes it to my app delegate, where I have implemented application(_:userActivity:restorationHandler:) and would expect my app to pick up the activity to start the meeting. Why is this happening?
I have implemented the INStartCallIntent similarly - calling completion(INStartCallIntentResponse(code: .continueInApp, userActivity: userActivity)) and that intent works just fine when connected to CarPlay, but my app has a distinction between calling and meeting so I really need both to work.
Post not yet marked as solved
Hello.
In CarPlay programming guide code example, we set the interfaceController property to nil in the didDisconnect method.
// CarPlay disconnected
func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene,
didDisconnect interfaceController: CPInterfaceController) {
self.interfaceController = nil
}
}
However it's not explained why we need this. moreover when we debug we see clearly that the interfaceController is released from memory normally without needing to set it to nil.
Does anyone has an explanation for that ?
Post not yet marked as solved
Hello
When I open CarPlay Simulator and connect the phone, it gives the following error:
Accessory is not Supported
Mac Mini MacOS 12.4 with iPhone 13 Pro iOS 15.5
Does anyone have a solution?
Post not yet marked as solved
Does CarPlay belong to screen casting technology? What kind of data is transmitted from the phone to the car?
Post not yet marked as solved
1.What is the translation content from iPhone to car?
2.how to display ui in the car?
Post not yet marked as solved
Hi there!
I recently bought a new radio that supports carplay. However I can only get it to work wirelessly, and now the supplier claims its only supposed to work wirelessly on my unit, even though it clearly says that it supports it through USB, in the manual and on the website.
could someone pls confirm if this is actually possible?(to support only wireless and not wired) It has a dedicated USB port for the link to carplay and it registers that an iPhone is in the port when I plug it in, but it just loads forever, and never asks if I want to use carplay.
Best regards
Post not yet marked as solved
Hello!
Please help me.
I have been using the 13 Pro since November 2021 with great satisfaction. So far I have only used Carplay for navigation and listening to music (Spotify). However, recently, I have had several occasions when I get a call while driving, while using Carplay, and the caller cannot hear me at all, but I can hear the caller perfectly.
The BT system in the car is perfect, no such problem there.
Has anyone else experienced this? What am I messing up? It is simply incomprehensible.
Siri is also active.
Change cable, restart phone and reconnect...all done. Only this function doesn't work. It's the latest 15.4.1. The car is a 2018 Skoda Fabia.
Post not yet marked as solved
I want to connect a physical device (iPhone) and a simulator for CarPlay to simulate an app (ex: PlugShare App) installed on a physical device, but I would like to know if that is feasible.
★ Thing I want to do:
I want take a screenshot for PlugShare App (CarPlay side).
Screenshot like below...
https://user-images.githubusercontent.com/16476224/163707909-95fa0b68-8eca-408a-b123-86ce39062984.png
★ References:
https://developer.apple.com/carplay/documentation/CarPlay-App-Programming-Guide.pdf -> P13
https://developer.apple.com/documentation/carplay/using_the_carplay_simulator
See [Open the CarPlay Simulator]
★ environment:
Xcode: 13.3.1
physical device (iPhone): iPhone 13 Pro OS 15.4
macOS: 12.3.1 (Monterey)
Post not yet marked as solved
Hi
I see the icon for my app on the CarPlay dashboard but I am unable to launch the app from the CarPlay dashboard controls using my car's controls.
However if the app is launched on the phone - Car Play detects it and I can control the app from the Car controls. Any ideas what could be going on?
Thanks
I have a test like below.
If using Swift:
import CarPlay can works.
If using Objective C:
#import <CarPlay.h> will not work. (I have include the framework from project)
So does it means that from Objective C, we can not using CarPlay framework and its API such as: CarPlaySceneDelegate, CPListItem, etc.
Thanks very much.
Post not yet marked as solved
Where do I find and how do I install Accessory Developer Profile for CarPlay/Enhanced Siri? I do not see it anywhere in developer.apple.com/download.
I am running the (MFI) CarPlay Tests 2.7 app on my 2 iPhone 7's, each with iOS 15.4.0 installed. Main and Accessory are paired and Main shows it's connected to my Head Unit. When I start the Enhanced Siri Detector Quality test on Main, it shows a popup:
Feature not supported
Make sure you have the Accessory Developer Profile installed with Enhanced Siri enabled, and you're running on the latest iOS version. Please, also check if your HeadUnit supports this feature.
I know my HeadUnit supports this feature because I am able to run it when an iPhone 8 with iOS 15.4.0 is set up as Main. I now need to run it on my iPhone 7. I didn't have to set up this profile on the iPhone 8. I have Siri enabled on this iPhone 7 Main.
Post not yet marked as solved
Currently, there exists devices like the Magic Box that essentially are extremely overpriced Android devices that enable you to mirror the device to your car without restrictions (for example, web browsing and video streaming). I'm thinking this can be accomplished with a Raspberry Pi at a significantly cheaper price.
At first, I was thinking that it could be a custom Android Auto protocol. I have seen some articles and open source code with successful results. The only issue is that this wouldn't make sense since these products are advertised for CarPlay as well.
This leads me to my current "solution" (an extremely abstract one, albeit), which is that the device is spoofing the car into thinking it's CarPlay capable, then allowing it to display vanilla Android from the device.
Does anyone know of any projects similar to this, or perhaps somewhere to get started with this if my spoofing theory is even correct?
Post not yet marked as solved
Hi,
I have a media app that works fine when it is launched from the phone and the menu buttons work perfectly. However the reverse scenario does not work i.e. if the app is not launched on phone but the App icon shows up on the screen - clicking on the icon does not launch the app.
Any ideas what could be going on?
Thanks
After the release of iOS 15.4, I am receiving so many crash reports for CarPlay, and the percentage increased to +140%!
Here is one of the crash logs:
Crash Log
And here is a screenshot from Xcode Organizer, which shows too many wired crashes:
Post not yet marked as solved
Would it be possible to include multiple CarPlay App entitlement in one application?
Would it be possible to create CarPlay App by separating 2 or 3 apps in one application when Car play is connected?
If it is not possible for No.1 and No.2 in this moment, could we do anything for making our application be multi CarPlay app in the future?
Can we change entitlement after launch CarPlay app? how many month?
In the future, Do you have plan to support multiple CarPlay App entitlement in one application ?
Post not yet marked as solved
Hello everyone,
I am currently trying to build a CarPlay application with the Charging entitlement. As part of my application I have a List Template which shows different entries and should start navigation to one of them on click on it. Therefore I used the answer of this question: https://developer.apple.com/forums/thread/669838?login=true
and implemented following function:
static func launchmap(cpAppScene: CPTemplateApplicationScene, latitude: String, longtitude: String, carplay : Bool = true) {
let urlString: String!
if UIApplication.shared.canOpenURL(URL(string:"comgooglemaps://")!) {
urlString = "comgooglemaps://?&daddr=\(latitude),\(longtitude)&directionsmode=driving"
} else {
urlString = "http://maps.apple.com/?daddr=\(latitude),\(longtitude)&dirflg=d"
}
if let url = URL(string: urlString) {
if (carplay) {
cpAppScene.open(url, options: nil, completionHandler: { (Void) in print("completed!")})
} else {
UIApplication.shared.open(url)
}
}
}
Now my main concern is: I can't test this functionality in the CarPlay simulator because it comes without safari and Apple Maps as well as I can't install any external apps like Google Maps. Trying to test this functionality in my car leads to it crashing and I am just frustrated on figuring out how to debug it without the simulator allowing us to install external apps and coming without maps.
Are there any ideas?
Thank you and best regards
Dennis
Post not yet marked as solved
When I download my provisioning profile I can't find the com.apple.developer.carplay-audio entitlement in it.
Here's what I did:
For our app identifier on Apple Developer Portal in "Additional Capabilities" I enabled "CarPlay Audio App (CarPlay framework)".
After that I generated a provisioning profile and downloaded it. In the provisional profile info on Apple Developer Portal I can see "CarPlay Audio App (CarPlay framework)" in "Enabled Capabilities".
When I import the downloaded profile in Xcode, I can't see the CarPlay entitlement there. After I added the "com.apple.developer.carplay-audio" entitlement to my .entitlements file, I'm getting the "Provisioning profile ... doesn't include the com.apple.developer.carplay-audio entitlement.". When I'm opening the profile in my text editor, I also can't find "carplay-audio" there.
Is there a way to solve this problem?