蘋果版本老是老是閃退Exception name:NSInvalidArgumentException Exception reason:Invalid number value (NaN) i...

安卓正常,
蘋果來試時,忽然閃退oop

當時沒調試,調試發下報下面的錯誤:3d

Exception name:NSInvalidArgumentException Exception reason:Invalid number value (NaN) in JSON write Exception stack:( 0 CoreFoundation 0x21517933 <redacted> + 150 1 libobjc.A.dylib 0x20cb2e17 objc_exception_throw + 38 2 CoreFoundation 0x21517861 <redacted> + 0 3 Foundation 0x21db0b43 <redacted> + 602 4 Foundation 0x21daf77b <redacted> + 442 5 Foundation 0x21db1763 <redacted> + 198 6 CoreFoundation 0x2142f025 <redacted> + 92 7 CoreFoundation 0x2142ef35 <redacted> + 160 8 Foundation 0x21db0f87 <redacted> + 458 9 Foundation 0x21daf771 <redacted> + 432 10 Foundation 0x21daf583 <redacted> + 126 11 Foundation 0x21db043d <redacted> + 336 12 UZApp 0x00068ae3 UZApp + 269027 13 UZApp 0x0008f0f5 UZApp + 426229 14 UZApp 0x0008e36d UZApp + 422765 15 Foundation 0x21d416df <redacted> + 386 16 CoreFoundation 0x214d9dff <redacted> + 14 17 CoreFoundation 0x214d99ed <redacted> + 452 18 CoreFoundation 0x214d7d5b <redacted> + 794 19 CoreFoundation 0x21427229 CFRunLoopRunSpecific + 520 20 CoreFoundation 0x21427015 CFRunLoopRunInMode + 108 21 Foundation 0x21c70045 <redacted> + 268 22 UZApp 0x0008ddbf UZApp + 421311 23 UZApp 0x00084b41 UZApp + 383809 24 UZApp 0x0004ec79 UZApp + 162937 25 UZApp 0x0004ec4d UZApp + 162893 26 UZApp 0x000ad297 UZApp + 549527 27 UZApp 0x000ad681 UZApp + 550529 28 Foundation 0x21d416df <redacted> + 386 29 CoreFoundation 0x214d9dff <redacted> + 14 30 CoreFoundation 0x214d99ed <redacted> + 452 31 CoreFoundation 0x214d7d5b <redacted> + 794 32 CoreFoundation 0x21427229 CFRunLoopRunSpecific + 520 33 CoreFoundation 0x21427015 CFRunLoopRunInMode + 108 34 GraphicsServices 0x22a17ac9 GSEventRunModal + 160 35 UIKit 0x25afb189 UIApplicationMain + 144 36 UZApp 0x000f0bbd UZApp + 826301 37 libdyld.dylib 0x210cf873 <redacted> + 2 )調試

 

原來是我傳數據時有一個變量是NaNci

相關文章
相關標籤/搜索