作者:手机用户2502856053 | 来源:互联网 | 2023-09-24 22:03
apicloud ios系统闪退报以下错误Exception name:NSInvalidArgumentException Exception reason:NSHealthShar
apicloud ios系统闪退报以下错误
Exception name:NSInvalidArgumentException Exception reason:NSHealthShareUsageDescription must be set in the app's Info.plist in order to request read authorization for the following types: HKQuantityTypeIdentifierStepCount Exception stack:( 0 CoreFoundation 0x00000001e081a9a4 + 252 1 libobjc.A.dylib 0x00000001df9f39f8 objc_exception_throw + 56 2 CoreFoundation 0x00000001e0724bc0 + 0 3 HealthKit 0x00000001f2a30548 + 704 4 HealthKit 0x00000001f2a300ac + 456 5 HealthKit 0x00000001f2a2fa20 + 344 6 HealthKit 0x00000001f2a2f78c + 84 7 UZApp 0x000000010142fc80 _ZNSt3__117__call_once_proxyINS_5tupleIJRFvvEEEEEEvPv + 1733916 8 Foundation 0x00000001e12a1864 + 336 9 CoreFoundation 0x00000001e07ac728 + 24 10 CoreFoundation 0x00000001e07ac6a8 + 88 11 CoreFoundation 0x00000001e07abfe0 + 256 12 CoreFoundation 0x00000001e07a6ecc + 1004 13 CoreFoundation 0x00000001e07a67c0 CFRunLoopRunSpecific + 436 14 GraphicsServices 0x00000001e29a779c GSEventRunModal + 104 15 UIKitCore 0x000000020d125c38 UIApplicationMain + 212 16 UZApp 0x0000000100fcf978 UZApp + 883064 17 libdyld.dylib 0x00000001e026a8e0 + 4 )
Exception name:NSSignalException Exception reason:Signal SIGABRT was raised! Exception stack:( "0 UZApp 0x0000000100fc7924 UZApp + 850212", "1 UZApp 0x0000000100fc7494 UZApp + 849044", "2 libsystem_platform.dylib 0x00000001e042a9ec + 40", "3 libsystem_pthread.dylib 0x00000001e0430094 + 380", "4 libsystem_c.dylib 0x00000001e030fea8 abort + 140", "5 libc++abi.dylib 0x00000001df9dc788 __cxa_bad_cast + 0", "6 libc++abi.dylib 0x00000001df9dc934 + 0", "7 libobjc.A.dylib 0x00000001df9f3e00 + 124", "8 libc++abi.dylib 0x00000001df9e8838 + 16", "9 libc++abi.dylib 0x00000001df9e8434 __cxa_rethrow + 144", "10 libobjc.A.dylib 0x00000001df9f3bc8 objc_exception_rethrow + 44", "11 CoreFoundation 0x00000001e07a682c CFRunLoopRunSpecific + 544", "12 GraphicsServices 0x0