I am using Xcode 14 and multiplatform app project.
I have received the CarPlay entitlements from Apple and everything works on iOS. However I do have to share the same entitlements.plist file with macOS (multiplatform project uses the same file) and the CarPlay entitlement crashes the Mac app. If I remove those lines from it everything works fine:
<key>com.apple.developer.carplay-audio</key>
<true/>
How to handle this? I have tried to add iphoneos on the end of the key but it keeps crashing even then.