我在访问设备上的钥匙串(keychain)时遇到问题。只有当应用程序从Xcode启动时才会发生这种情况。如果我自己启动应用程序(通过点击它的图标),钥匙串(keychain)可以正常工作。模拟器也没有问题。控制台输出:Jan2714:33:24iPhoneMyApp[4305]:SecOSStatusWitherror:[-34018]Theoperationcouldn’tbecompleted.(OSStatuserror-34018-Remoteerror:Theoperationcouldn'tbecompleted.(OSStatuserror-34018-clienthas