I have same problem:
https://developer.apple.com/forums/thread/664597
Post
Replies
Boosts
Views
Activity
Try this:
• Regenerate your App ID and provisioning profiles.
• Clean Xcode, manually import your provisioning profiles and manually sign your app.
• Try a bundle ID that doesn't include the word CarPlay (this is last thing to try and would clearly be a bug in Xcode).
I wrote to Apple. (TSIs)
Apple sent me a recommendation that I sent to you.
Try this:
• Regenerate your App ID and provisioning profiles.
• Clean Xcode, manually import your provisioning profiles and manually sign your app.
• Try a bundle ID that doesn't include the word CarPlay (this is last thing to try and would clearly be a bug in Xcode).
It didn't solve my problem.
Apple also proposes to base the ticket on: https://developer.apple.com/bug-reporting
Did you try to report a bug?
Do you have a bug number?
Not work for me.
What you implemented for siri?
I implement only INStartCallIntent.
CarPlaySceneDelegate implement CPTabBarTemplate with contacts and recents tabs.
Can you share your project with me, please?
I reported a bug to "Feedback Assistant".
I tried it according to your instructions.
If I add these INSearchForMessagesIntent and INSendMessageIntent values to the plist,
the application will appear on the real device.
I don't want my app to support Siri text messaging.
I added "INStartAudioCallIntent" and "INSearchCallHistoryIntent" to the info.plist.
My communication app appears on the CarPlay screen of the real device and the Simulator. I think that our problem was solved.
In CarPlay documentation: VoIP calling must be handled using CallKit and SiriKit. Your app must support starting an audio call, and searching the user’s call history.
Thanks for the tip, I'm going to try it.
Resolved in:
https://developer.apple.com/forums/thread/664874
I added "INStartAudioCallIntent" and "INSearchCallHistoryIntent" to the info.plist.
Did you find a solution?
iOS and iPadOS
iOS 15.6 beta:
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15_6-release-notes
Known Issues
Xcode 13.4 is unable to prepare iOS 15.6 beta devices for development. (93452791)
Workaround: Use Xcode 13.3.1.
Try this for download iCloudFile:
url.startAccessingSecurityScopedResource()
if !FileManager.default.fileExists(atPath: url.path), FileManager.default.isUbiquitousItem(at: url) {
try FileManager.default.startDownloadingUbiquitousItem(at: url)
startReadingStatus(for: url) { isSuccess in
if isSuccess {
do {
try FileManager.default.copyItem(at: url, to: LOCAL_URL)
} catch {
print(error)
}
}
url.stopAccessingSecurityScopedResource()
}
return true
}
internal func startReadingStatus(for url: URL, completion: ((Bool) -> Void)? = nil) {
DispatchQueue.main.async {
Timer.scheduledTimer(withTimeInterval: 0.5, repeats: true, block: { [weak self] (timer) in
guard let status = self?.downloadStatus(for: url)
else {
completion?(false)
return
}
if status == URLUbiquitousItemDownloadingStatus.current {
timer.invalidate()
completion?(true)
}
})
}
}
internal func downloadStatus(for url: URL) -> URLUbiquitousItemDownloadingStatus? {
do {
let attributes = try url.resourceValues(forKeys: [URLResourceKey.ubiquitousItemDownloadingStatusKey])
guard let status: URLUbiquitousItemDownloadingStatus = attributes.allValues[URLResourceKey.ubiquitousItemDownloadingStatusKey] as? URLUbiquitousItemDownloadingStatus
else {
return nil
}
return status
} catch {
return nil
}
}
I found out that RPBroadcastSampleHandler does not have a problem directly with CallKit.
The problem is that I use AVSampleBufferDisplayLayer to display during a video call.
My problem is that if I use AVSampleBufferDisplayLayer.preventsCapture = true,
the RPBroadcastSampleHandler extension does not start.
I expected from the preventsCapture setting that only that part of the image would not be recorded.
Is it possible to keep this setting while still allowing screen recording to work?
How can i prevent the black layer from showing?
Hi,
I have the same problem. I solved it so that every 10 seconds I display a notification to the user, using which I ring. I couldn't download CallKit.
Do you have any other solution?