cupertino-sample-code/carplay-integrating-carplay-with-your-quick-ordering-app
Mihaela Mihaljevic 37fd4fb24f Initial commit: 606 Apple sample code projects
MIT License - Apple Developer sample code
Downloaded via Cupertino (https://github.com/mihaelamj/cupertino)
2025-12-03 00:19:12 +01:00
..
Configuration Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
Hoagies Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
.gitignore Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
LICENSE.txt Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
README.md Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00

Integrating CarPlay with your quick-ordering app

This sample code project demonstrates how to display custom ordering options in a vehicle using CarPlay. The sample app integrates with the CarPlay framework by implementing CPTemplate subclasses, such as CPPointOfInterestTemplate and CPListTemplate. This sample's iOS app component provides a logging interface to help you understand the life cycle of a CarPlay app.

For more information about the app and how it works, see Integrating CarPlay with your quick-ordering app.

Configure the sample code project

CarPlay quick-ordering apps require a CarPlay quick-ordering entitlement, which you can request here. After Apple grants the entitlement, follow these steps:

  1. Log in to your account on the Apple Developer website and create a new provisioning profile that includes the CarPlay quick ordering-app entitlement.

  2. Import the newly created provisioning profile into Xcode.

  3. Create an Entitlements.plist file in the project, if you don't have one already.

  4. Create a key for the CarPlay quick-ordering app entitlement as a Boolean. Make sure that the target project setting CODE_SIGN_ENTITLEMENTS has the path of the Entitlements.plist file.