iOS 10 Simulator LayerKit 连接失败

iOS 10 Simulator LayerKit connection failed

迁移到最新的 mac OS Sierra 和 Xcode 8 后,LayerKit(版本 0.22.0)停止在模拟器上工作。总是 return 错误:

错误域=com.layer.LayerKit.Security代码=-34018 "Generation of key pair failed with result code -34018."用户信息={NSLocalizedDescription=生成密钥对失败,结果代码为-34018。,参数={ atag = <63657274 732d7472 75737465 642e6c79 72382e6e 65743a43 46363431 3046342d 42383546 2d313145 342d4134 42452d34 37424235 463434>463425 bsiz = 1024; pdmn = ck; 烫发 = 1; 类型 = 42; }}

有没有人遇到同样的问题?

启用"Keychain Sharing"修复这个问题。看这个帖子 https://forums.developer.apple.com/thread/60617