Apicloud ios闪退

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 <redacted> + 252 1 libobjc.A.dylib 0x00000001df9f39f8 objc_exception_throw + 56 2 CoreFoundation 0x00000001e0724bc0 <redacted> + 0 3 HealthKit 0x00000001f2a30548 <redacted> + 704 4 HealthKit 0x00000001f2a300ac <redacted> + 456 5 HealthKit 0x00000001f2a2fa20 <redacted> + 344 6 HealthKit 0x00000001f2a2f78c <redacted> + 84 7 UZApp 0x000000010142fc80 _ZNSt3__117__call_once_proxyINS_5tupleIJRFvvEEEEEEvPv + 1733916 8 Foundation 0x00000001e12a1864 <redacted> + 336 9 CoreFoundation 0x00000001e07ac728 <redacted> + 24 10 CoreFoundation 0x00000001e07ac6a8 <redacted> + 88 11 CoreFoundation 0x00000001e07abfe0 <redacted> + 256 12 CoreFoundation 0x00000001e07a6ecc <redacted> + 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 <redacted> + 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 <redacted> + 40", "3 libsystem_pthread.dylib 0x00000001e0430094 <redacted> + 380", "4 libsystem_c.dylib 0x00000001e030fea8 abort + 140", "5 libc++abi.dylib 0x00000001df9dc788 __cxa_bad_cast + 0", "6 libc++abi.dylib 0x00000001df9dc934 <redacted> + 0", "7 libobjc.A.dylib 0x00000001df9f3e00 <redacted> + 124", "8 libc++abi.dylib 0x00000001df9e8838 <redacted> + 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

阅读 461
评论 2019-10-17 提问
    1 个回答
    apiclouder
    • 1
    • 新人请关照

    检查一下你的健康分享权限是否添加了 控制台是否勾选 ,证书是否勾选 plist文件是否已添加

    评论 赞赏 2月6日