diff --git a/Apps/Examples/Examples.xcodeproj/project.pbxproj b/Apps/Examples/Examples.xcodeproj/project.pbxproj index 758d62e2eed4..20f7538609d0 100644 --- a/Apps/Examples/Examples.xcodeproj/project.pbxproj +++ b/Apps/Examples/Examples.xcodeproj/project.pbxproj @@ -1084,6 +1084,7 @@ APPLICATION_EXTENSION_API_ONLY = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = ../../Apps/Examples/Examples/Examples_CarPlay.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; INFOPLIST_FILE = Examples/Info.plist; @@ -1198,6 +1199,7 @@ APPLICATION_EXTENSION_API_ONLY = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = ../../Apps/Examples/Examples/Examples_CarPlay.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; INFOPLIST_FILE = Examples/Info.plist; diff --git a/xcodegen/Examples.yml b/xcodegen/Examples.yml index 18633fe92b5e..84a97745e29d 100644 --- a/xcodegen/Examples.yml +++ b/xcodegen/Examples.yml @@ -32,6 +32,10 @@ targets: - "All Examples/Sample Data/**" - "Assets.xcassets/**" # destinationFilters: [iOS, visionOS] + entitlements: + path: ../Apps/Examples/Examples/Examples_CarPlay.entitlements + properties: + com.apple.developer.carplay-maps: YES dependencies: - package: Fingertips