Seeing on iOS13 at least, an error while trying to bridge error types: 0 libswiftFoundation.dylib 0x00000001b6714580 $sSo10CFErrorRefas5Error10FoundationsACP7_domainSSvgTW + 44 (NSError.swift:343) 1 libswiftCore.dylib 0x000000018e43f77c $ss23_getErrorDomainNSStringyyXlSPyxGs0B0RzlF + 44 (ErrorType.swift:140) 2 libswiftCore.dylib 0x000000018e6bfab8 _swift_stdlib_bridgeErrorToNSError + 216 (ErrorObject.mm:434) 3 SignalShareExtension 0x0000000102f4f348 closure #1 in ShareViewController.shareViewWasCancelled() + 748 (ShareViewController.swift:512) 4 SignalShareExtension 0x0000000102f498ec thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0) 5 UIKitCore 0x0000000184889f04 __99-[UIViewController _dismissViewControllerWithAnimationController:interactionController:comple... + 32 (UIViewController.m:8103) Passing back a swift error avoids this. Presumably setting a domain on the NSError would also work. |
||
|---|---|---|
| .. | ||
| Base.lproj | ||
| utils | ||
| Info.plist | ||
| SAEFailedViewController.swift | ||
| SAELoadViewController.swift | ||
| SAEScreenLockViewController.h | ||
| SAEScreenLockViewController.m | ||
| ShareViewController.swift | ||
| SignalShareExtension-Bridging-Header.h | ||
| SignalShareExtension-Prefix.pch | ||
| SignalShareExtension.entitlements | ||