링크: https://developer.apple.com/videos/play/wwdc2020/10074/
Decipher and deal with common Siri errors - WWDC20 - Videos - Apple Developer
“Sorry, there was a problem with the app...
developer.apple.com
Xcode에서 Scheme Editor를 통한 자동 Siri Query를 하는 방법은 Intents Extension의 Scheme Editor에서 Siri Intent Query에 질의할 내용을 넣는 것입니다.
Intents Extension을 실행할 때 host process를 선택할 수 있습니다.
Intents extension을 실행했을 때 Intents UI extension의 브레이크 포인트에 걸리지 않는 이유는 둘은 별개의 프로세스로 분리된 extension이기 때문입니다.
만약 동시에 두 프로세스를 실행하고 싶다면 Xcode의 Debug 메뉴에서 가능합니다.
아래와 같은 오류를 낼 때는 다음과 같습니다.
시간초과, 여러 번의 completion handler, crash
Xcode에서 View Device Logs를 사용하여 프로세스의 크래쉬를 볼 수 있습니다.
또한 os_log와 Console.app을 통한 디버깅이 가능합니다.
os_log로 로그를 찍고,
Console.app에서 확인 가능합니다.
이상으로 SiriKit의 디버깅에 대해 알아보았습니다.
'WWDC' 카테고리의 다른 글
[WWDC22] Add accessibility to your Unity games (0) | 2022.07.21 |
---|---|
[WWDC20] Expand your SiriKit Media Intents to more platforms (0) | 2022.05.09 |
[WWDC19] Introducing SiriKit Media Intents (0) | 2022.05.09 |
[WWDC16] Extending Your Apps with SiriKit (0) | 2022.05.02 |
[WWDC16] Introducing SiriKit (0) | 2022.05.02 |
댓글