tilltue / TLPhotoPicker

📷 multiple phassets picker for iOS lib. like a facebook
MIT License
1.88k stars 332 forks source link

macOS Catalyst support? #232

Open MrFuFuFu opened 4 years ago

MrFuFuFu commented 4 years ago

Any chance will support macOS Catalyst? Thank you

MrFuFuFu commented 4 years ago

Sorry I'll close this issue, it does support macOS Catalyst. The issue was version 2.0.4 crash on both iPadOS and macOS Catalyst, so I thought it doesn't support macOS Catalyst.

MrFuFuFu commented 4 years ago

Somehow. It not works again. Here is the error I got.

2019-10-28 18:15:52.553790+1300 Card Diary - Debug[52379:1662286] [General] Could not load NIB in bundle: 'NSBundle </Users/yuan/Library/Developer/Xcode/DerivedData/inkDiary-dbigqmyeexgoqjehhltylmeypsso/Build/Products/Debug-maccatalyst/Card Diary - Debug.app/Contents/Frameworks/TLPhotoPicker.framework> (loaded)' with name 'TLPhotosPickerViewController'
2019-10-28 18:15:52.559285+1300 Card Diary - Debug[52379:1662286] [General] (
    0   CoreFoundation                      0x00007fff37eb4d63 __exceptionPreprocess + 250
    1   libobjc.A.dylib                     0x00007fff6dda3bd4 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff37eb4bb9 +[NSException raise:format:] + 189
    3   UIKitCore                           0x00007fff753a4b70 -[UINib instantiateWithOwner:options:] + 487
    4   UIKitCore                           0x00007fff753c3b18 -[UIViewController _loadViewFromNibNamed:bundle:] + 395
    5   UIKitCore                           0x00007fff753c3864 -[UIViewController loadView] + 177
    6   UIKitCore                           0x00007fff753c23d3 -[UIViewController loadViewIfRequired] + 172
    7   UIKitCore                           0x00007fff753d6a60 -[UIViewController view] + 27
    8   UIKitCore                           0x00007fff75878a62 -[_UIFullscreenPresentationController _setPresentedViewController:] + 84
    9   UIKitCore                           0x00007fff7586c127 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 188
    10  UIKitCore                           0x00007fff75936a01 -[UIViewController _presentViewController:withAnimationController:completion:] + 3870
    11  UIKitCore                           0x00007fff75939554 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke + 98
    12  UIKitCore                           0x00007fff75939ba5 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 516
    13  UIKitCore                           0x00007fff759394b2 -[UIViewController _presentViewController:animated:completion:] + 187
    14  UIKitCore                           0x00007fff75939864 -[UIViewController presentViewController:animated:completion:] + 481
    15  UIKit                               0x00007fff6f42e437 -[UIViewControllerAccessibility presentViewController:animated:completion:] + 221
    16  Card Diary - Debug                  0x0000000100588b64 $s18Card_Diary___Debug11PhotoHelperC13photoSelector2vc16progressCallback03perD10Completion03allL0ySo16UIViewControllerC_ySb_SdSgtcy10Foundation4DataVSgcyyctF + 8756
    17  Card Diary - Debug                  0x00000001001379d7 $s18Card_Diary___Debug03NewB14ViewControllerC9addPhotosyySo8UIButtonCF + 1015
    18  Card Diary - Debug                  0x0000000100139ed4 $s18Card_Diary___Debug03NewB14ViewControllerC9addPhotosyySo8UIButtonCFTo + 68
    19  UIKitCore                           0x00007fff75585fca -[UIApplication sendAction:to:from:forEvent:] + 83
    20  UIKitCore                           0x00007fff7559117d -[UIControl sendAction:to:forEvent:] + 241
    21  UIKitCore                           0x00007fff7558f224 -[UIControl _sendActionsForEvents:withEvent:] + 398
    22  UIKitCore                           0x00007fff75590bfe -[UIControl touchesEnded:withEvent:] + 542
    23  UIKitCore                           0x00007fff7555de42 -[UIWindow _sendTouchesForEvent:] + 2801
    24  UIKitCore                           0x00007fff75535987 -[UIWindow sendEvent:] + 4544
    25  UIKitCore                           0x00007fff75533c1f -[UIApplication sendEvent:] + 356
    26  UIKit                               0x00007fff6f3d1ff4 -[UIApplicationAccessibility sendEvent:] + 85
    27  UIKitCore                           0x00007fff75531e29 __dispatchPreprocessedEventFromEventQueue + 7458
    28  UIKitCore                           0x00007fff754ddffd __handleEventQueueInternal + 5929
    29  UIKitCore                           0x00007fff754dc359 __handleHIDEventFetcherDrain + 90
    30  CoreFoundation                      0x00007fff37e20a21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    31  CoreFoundation                      0x00007fff37e209c0 __CFRunLoopDoSource0 + 103
    32  CoreFoundation                      0x00007fff37e03f84 __CFRunLoopDoSources0 + 209
    33  CoreFoundation                      0x00007fff37e03590 __CFRunLoopRun + 1272
    34  CoreFoundation                      0x00007fff37e02e13 CFRunLoopRunSpecific + 499
    35  HIToolbox                           0x00007fff3698fb2d RunCurrentEventLoopInMode + 292
    36  HIToolbox                           0x00007fff3698f779 ReceiveNextEventCommon + 356
    37  HIToolbox                           0x00007fff3698f5f7 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    38  AppKit                              0x00007fff35025ac4 _DPSNextEvent + 990
    39  AppKit                              0x00007fff35024834 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
    40  AppKit                              0x00007fff3501efd4 -[NSApplication run] + 658
    41  AppKit                              0x00007fff35010e7d NSApplicationMain + 777
    42  AppKit                              0x00007fff35492314 _NSApplicationMainWithInfoDictionary + 16
    43  UIKitMacHelper                      0x00007fff68a7e374 UINSApplicationMain + 322
    44  UIKitCore                           0x00007fff7537a3f4 UIApplicationMain + 2206
    45  Card Diary - Debug                  0x00000001000e4ddb main + 75
    46  libdyld.dylib                       0x00007fff6f102405 start + 1
)
unathi-dev commented 3 years ago

@MrFuFuFu Were you able to use this library in your Mac app using catalyst?

unathi-dev commented 3 years ago

Solved.