n3d1117/cook

There's an issue when fetching certificates that crashes the program

GeoSn0w opened this issue · 3 comments

[] Recipe: create certificate
[
] Logging in...
[] Fetching team...
[
] Fetching certificates...
2021-11-17 14:14:38.216 cook[33336:216111] -[NSNull _fastCStringContents:]: unrecognized selector sent to instance 0x7fff8f2c8030
2021-11-17 14:14:38.217 cook[33336:216111] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull _fastCStringContents:]: unrecognized selector sent to instance 0x7fff8f2c8030'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff37ad4437 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff70aae5bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff37b53567 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff37a38c8b forwarding + 1427
4 CoreFoundation 0x00007fff37a38668 _CF_forwarding_prep_0 + 120
5 libswiftCore.dylib 0x00007fff713e28d1 $ss18_bridgeCocoaStringys01_C4GutsVyXlF + 113
6 libswiftCore.dylib 0x00007fff713e2b02 $sSS12_cocoaStringSSyXl_tcfC + 18
7 libswiftFoundation.dylib 0x00007fff716e2b7c $sSS10FoundationE36_unconditionallyBridgeFromObjectiveCySSSo8NSStringCSgFZ + 28
8 cook 0x0000000106562e06 cook + 77318
9 cook 0x00000001065679d9 cook + 96729
10 cook 0x00000001065652b5 cook + 86709
11 cook 0x00000001065918f5 cook + 268533
12 cook 0x00000001065968fe cook + 289022
13 CFNetwork 0x00007fff36318c4a CFURLCredentialStorageCopyAllCredentials + 24894
14 CFNetwork 0x00007fff36266918 CFURLRequestGetMainDocumentURL + 15897
15 Foundation 0x00007fff3a0d63c5 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7
16 Foundation 0x00007fff3a0d62e6 -[NSBlockOperation main] + 80
17 Foundation 0x00007fff3a0d6281 NSOPERATION_IS_INVOKING_MAIN + 17
18 Foundation 0x00007fff3a0d54b3 -[NSOperation start] + 722
19 Foundation 0x00007fff3a0d51d9 NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 17
20 Foundation 0x00007fff3a0d50a9 __NSOQSchedule_f + 182
21 libdispatch.dylib 0x00007fff71c092b9 _dispatch_block_async_invoke2 + 83
22 libdispatch.dylib 0x00007fff71bfd658 _dispatch_client_callout + 8
23 libdispatch.dylib 0x00007fff71bff818 _dispatch_continuation_pop + 414
24 libdispatch.dylib 0x00007fff71bfef16 _dispatch_async_redirect_invoke + 703
25 libdispatch.dylib 0x00007fff71c0b957 _dispatch_root_queue_drain + 326
26 libdispatch.dylib 0x00007fff71c0c097 _dispatch_worker_thread2 + 92
27 libsystem_pthread.dylib 0x00007fff71e579f7 _pthread_wqthread + 220
28 libsystem_pthread.dylib 0x00007fff71e56b77 start_wqthread + 15
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Hi @GeoSn0w thanks for reporting, I guess it could be related to this fix by Riley last month: rileytestut/AltSign@ac85b05
When I have time I'll update AltSign dependency to include it

Updated! Could you try using latest version?

Still the same error