Swift-JWT icon indicating copy to clipboard operation
Swift-JWT copied to clipboard

SwiftJWT causing exceptions for iOS 12.4 devices

Open zallanx opened this issue 4 years ago • 1 comments

Note that this currently applies to iOS 12.4 devices. iOS 13+ devices have not had this issue reported. It seems CryptorECC, which the SwiftJWT library uses, is the culprit.

Has anyone also encountered this?

Relevant trace posted below:

Date/Time:           2020-05-09 00:15:57.1893 -0400
Launch Time:         2020-05-09 00:15:55.7345 -0400
OS Version:          iPhone OS 12.4.4 (16G140)
Baseband Version:    n/a
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000259a73b00
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [2416]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib            	0x0000000259a73b00 0x259870000 + 2112256
1   libswiftCore.dylib            	0x0000000259a73b00 0x259870000 + 2112256
2   libswiftCore.dylib            	0x0000000259aa5300 0x259870000 + 2315008
3   libswiftCore.dylib            	0x00000002598f1f70 0x259870000 + 532336
4   CryptorECC                    	0x0000000100d1d9fc 0x100d14000 + 39420
5   CryptorECC                    	0x0000000100d1ec9c 0x100d14000 + 44188
6   CryptorECC                    	0x0000000100d1b5dc 0x100d14000 + 30172
7   SwiftJWT                      	0x00000001011242c8 0x10111c000 + 33480
8   SwiftJWT                      	0x00000001011240ec 0x10111c000 + 33004
9   SwiftJWT                      	0x0000000101124514 0x10111c000 + 34068
10  SwiftJWT                      	0x0000000101137a5c 0x10111c000 + 113244

zallanx avatar May 09 '20 19:05 zallanx

@zallanx , I have come across this same error, did you find any solution or any alternatives? please share

azeemohd786 avatar Jul 15 '20 03:07 azeemohd786