iCloud UIDocumentPicker crashes intermittently and hangs

前端 未结 4 1389
醉梦人生
醉梦人生 2021-01-02 04:28

Issue:

When choosing a document from iCloud the application randomly crashes, for most of the time the following code will work, but on rare occasions it will fail.

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-02 05:33

    Seems the following error is occurring for iCloud entitlement is not being set correctly. Please check it again. Your containing app and extensions needs to be in same App groups. Enable App groups from Capabilities if it is not enabled. If both are are set correctly and still you get the error then have no clue from where it might happen.

    2015-03-18 16:22:15.960 E-Sign[6338:1860982] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application initializing document picker is missing the iCloud entitlement. Is com.apple.developer.icloud-container-identifiers set?'
    

    I am also facing other errors. That is why I am here.

提交回复
热议问题