Assertion failure in applicationOpenURLAction when import file

when i import file to my app by click files in other apps(files app), my pad ios is 12.2

get the error as fellows:

2019-12-27 09:34:05.110894+0800 Happy3D[357:24297] *** Assertion failure in -[UIApplication _applicationOpenURLAction:payload:origin:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIKit-3698.140/UIApplication.m:6857

2019-12-27 09:34:05.150198+0800 Happy3D[357:24297] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.

libc++abi.dylib: terminate_handler unexpectedly threw an exception


0x248703c30 <+204>: add x1, x8, #0xdcb ; =0xdcb

0x248703c34 <+208>: bl 0x248c2bdcc ; symbol stub for: CloudDocsLibrary

-> 0x248703c38 <+212>: mov x0, x20

0x248703c3c <+216>: bl 0x248c2bdfc ; symbol stub for: -[_UICloudSharingActivity _documentSharingControllerDidDismiss:]

0x248703c40 <+220>: mov x0, x19

0x248703c44 <+224>: bl 0x248c2bdfc ; symbol stub for: -[_UICloudSharingActivity



my info.plist is:

<key>CFBundleDocumentTypes</key>

<array>

<dict>

<key>CFBundleTypeIconFiles</key>

<array>

</array>

<key>CFBundleTypeRole</key>

<string>Editor</string>

<key>LSHandlerRank</key>

<string>Owner</string>

<key>CFBundleTypeName</key>

<string>stl file</string>

<key>LSItemContentTypes</key>

<array>

<string>public.standard-tesselated-geometry-format</string>

</array>

</dict>

</array>

Replies

Assertion failure in

applicationOpenURLAction
when import file

Does this cause your app to crash? If so, please post a crash report for this. You’ll need to run this outside of Xcode to generate a crash report. Also, make sure to post the whole report, not just an excerpt.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

ps DTS is closed 21 Dec through 1 Jan.