html5 ios keychain,ios Keychain KeychainItemWrapper

部分真机报Couldn’t add the Keychain Item.

源码:

KeychainItemWrapper *wrapper = [[KeychainItemWrapper alloc] initWithIdentifier:@”UserId” accessGroup:nil];

[wrapper setObject:[NSString stringWithFormat: @”%ld”, (long)user_id] forKey: (__bridge_transfer id)(kSecValueData)];

Couldn’t add the Keychain Item.

(null)

(

0 CoreFoundation 0x0000000182ee42f4 + 160

1 libobjc.A.dylib 0x00000001946b80e4 objc_exception_throw + 60

2 CoreFoundation 0x0000000182ee4198 + 0

3 Foundation 0x0000000183d98ed4 + 112

4 ziyou 0x10007ea38 -[KeychainItemWrapper writeToKeychain] + 732

5 ziyou 0x10007e0c4 -[KeychainItemWrapper setObject:forKey:] + 200

6 ziyou 0x10002dc9c +[Utility setKeyChainUserId:] + 248

7 ziyou 0x10007bc74 __29-[AppDelegate registerUserId]_block_invoke + 648

8 ziyou 0x1000389c4 __64-[UserApi registerUser:andInstallationId:andCheckCode:andblock:]_block_invoke + 264

9 ziyou 0x1000cd1e4 __64-[AFHTTPRequestOperation setCompletionBlockWithSuccess:failure:]_block_invoke46 + 56

10 libdispatch.dylib 0x0000000194d09994 + 24

11 libdispatch.dylib 0x0000000194d09954 + 16

12 libdispatch.dylib 0x0000000194d0e20c _dispatch_main_queue_callback_4CF + 1608

13 CoreFoundation 0x0000000182e9b7f8 + 12

14 CoreFoundation 0x0000000182e998a0 + 1492

15 CoreFoundation 0x0000000182dc52d4 CFRunLoopRunSpecific + 396

16 GraphicsServices 0x000000018c5e36fc GSEventRunModal + 168

17 UIKit 0x000000018798afac UIApplicationMain + 1488

18 ziyou 0x10002ece8 main + 124

19 libdyld.dylib 0x0000000194d36a08 + 4

)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值