I am working on automating testing for Callkit interaction.
I managed to call from client A to B.
When B receives the call he is shown the Callkit screen.
Manually, I can click on accept and the call is established.
However, when I try to record the Callkit interaction, XCode is crashing and the application on the phone as well.
Am I breaking any security limitation by trying to automate the "Accept call" interaction?
As I am not able to access the Callkit screen element via interaction recording;
I am wondering if someone as any experience with that kind of automation or if someone could point me to the documentation that would describe the button ids for the Callkit screen.
Am I breaking any security limitation
Even if you were, Xcode shouldn’t respond by crashing. You should definitely file a bug about that. And please post your bug number, just for the record.
Unfortunately, I don’t have any experience with testing CallKit code. Once you’ve filed your bug, and if no one else chimes in, I recommend that open a DTS tech support incident and talk to my colleague who supports Xcode testing.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"