我在对我的应用程序后端执行API调用时遇到了一个问题,现在每个连接都会用
CredStore - performQuery - Error copying matching creds. Error=-25300, query={
atyp = http;
class = inet;
"m_Limit" = "m_LimitAll";
ptcl = http;
"r_Attributes" = 1;
srvr = "myappsurl.com";
sync = syna;
}我有点不知所措,因为我不知道是什么导致了这一切,或者CredStore到底做了什么。CredStore在iOS中有什么用途?
发布于 2021-09-21 11:36:00
在使用stripe时,我发现我应该从Stripe中添加可发布的键。
这是在AppDelegate中设置的,正如在https://stripe.com/docs/development/quickstart第2步中所发现的那样。
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
StripeAPI.defaultPublishableKey = "pk_test_....."
return true
}https://stackoverflow.com/questions/46099940
复制相似问题