我正在编写一款iMessage扩展,但在使用CloudKit上传数据时遇到了问题。
当我尝试从容器应用程序中上传数据时,一切都正常,但当我在扩展中运行相同的代码时,就会出现以下异常:
当我尝试从容器应用程序中上传数据时,一切都正常,但当我在扩展中运行相同的代码时,就会出现以下异常:
'CKException', reason: 'The application is missing required entitlement com.apple.developer.icloud-services'
是否有一种方式设置应用扩展的授权或无法从扩展连接到iCloud是故意设计的选择?