WatchOS9 and CallKit integration issue

Hello,

I'm trying to test the integration of CallKit on the new WatchOS9. I'm using XCode 14 beta 3 and I started to implement the integration using the SpeakerBox sample code as a base. I created a new Apple Watch app and added CallKit, however, I'm running into an issue when trying to start a call.

After calling the function request(_ transaction: CXTransaction, completion: @escaping (Error?) -> Void) on CXCallController I get this error:

Error requesting transaction: The operation couldn’t be completed. (com.apple.CallKit.error.requesttransaction error 1.)

After reading the documentation it looks like this error code means that the app doesn't have the entitlements. I went ahead and added them to the watch app and to the companion iOS app. Even after doing that, the issue persists.

What else can I do to sort this out?

WatchOS9 and CallKit integration issue
 
 
Q