keychain

Slow app compilation with new Sierra update

谁说我不能喝 提交于 2019-12-12 07:08:06
问题 When I updated my mac to macOS Sierra 10.12.1 time of running application on real device significantly increased. "Run custom script 'Embed Pods Frameworks'" and "Copy Swift standard libraries" take more then 30 minutes to build. Do someone face the same issue? 回答1: Check your keychain. After updating to Sierra to 10.12.1, I had over 500 copies one of my certificates, and a few others were duplicated a few hundred times. I removed all the duplicates and kept just one of each, and my code

error: git-credential-osxkeychain died of signal 11

匆匆过客 提交于 2019-12-12 07:06:31
问题 I have installed github version 0.8.4, but when i try to fetch something from git, it is showing this message. Fetching all tracking branches from Queue-iOS completed successfully. command: git fetch Queue-iOS error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 error: git-credential-osxkeychain died of signal 11 From https://github.com/appstute/Queue-iOS 59bb075..b2da838 master -> Queue-iOS

Delete keychain items when an app is uninstalled

孤街浪徒 提交于 2019-12-12 06:35:57
问题 I am using idandersen's scifihifi-iphone code for keychain and save password using [SFHFKeychainUtils storeUsername:@"User" andPassword:@"123" forServiceName:@"TestService" updateExisting:YES error:&error]; When I delete the application from the device, the password remains in the keychain. I want to remove the password from the keychain when the user deletes the application from the device. How can I do this? 回答1: You can take advantage of the fact that NSUserDefaults are cleared by

iOS: keychain on new devices or on restores

情到浓时终转凉″ 提交于 2019-12-12 04:49:28
问题 I thought about storing important and sensitive information in iOS' keychain. But now I read that the keychain is only restored if the backup is encrypted in iTunes (don't know about iCloud backups). This is especially a problem when users buy a new iPhone/iPad and restore them from a backup. The information stored in the keychain by the old device will be lost. Is there any (secure) possibility to transfer the data to new devices or on restores independently of the backup settings? 回答1: You

How to get a SecIdentityRef from a SecCertificateRef and a SecKeyRef

我的未来我决定 提交于 2019-12-12 04:07:48
问题 Here's what I've already tried: First idea was, just put both into an array, use that array with kSecUseItemList , so keychain calls will operate only on the items in this array, not on real keychains and then get the identity like this: NSDictionary * searchQuery = @{ (__bridge id)kSecClass:(__bridge id)kSecClassIdentity, (__bridge id)kSecUseItemList:@[(__bridge id)key, (__bridge id)cert], (__bridge id)kSecReturnRef:@YES }; CFTypeRef foundItem = NULL; OSStatus copyStatus =

mobilefirst native ios keychain wrapper issue

半腔热情 提交于 2019-12-11 20:16:36
问题 I am working on a project for a native iOS app using xcode to develop the project, but including both MobileFirst Platform Foundation capabilities and mobile data capabilities from Bluemix. We are using a shared git repository on IBM DevOps services (jazzhub) to share project source code and work collaboratively on it. Most of the native apps I have built in the past have been on my own, so this is my first attempt to collaborate using git/xcode working together. All that is just context for

What is the “identity string” of my certificate (mac + codesign utility)?

混江龙づ霸主 提交于 2019-12-11 19:47:16
问题 I'm gonna say this right away: I have no idea what I'm doing here. I am not a mac developer. Here's the scenario: I have an installer (.pkg) that my boss wants me to sign. I have a certificate, issued by Thawte; which I've imported into the keychain program (and set it to be trusted for everything). In package maker, under the configuration tab, there is a label that says "Certificate", and directly next to it another that reads "not supported". Well, great. So, codesign; says it can't sign

Install on Device give Error : Command /usr/bin/codesign failed with exit code 1

可紊 提交于 2019-12-11 18:45:42
问题 I refer this links Command /usr/bin/codesign failed with exit code 1 and Xcode Error: Command /usr/bin/codesign failed with exit code 1 but not find solution. I spent lots of time to solve and try this issue but I can't sove it . Error is below. /Users/macmini2/Library/Developer/Xcode/DerivedData/CliniCalc-euqpjsnetzgblefamkvsxhinzomp/Build/Products/Debug-iphoneos/CliniCalc.app: The operation was cancelled by the user. Command /usr/bin/codesign failed with exit code 1 I used Xcode 5.1. 回答1: I

How to ignore iOS device PIN Prompt after 3 incorrect touch/face id recognitions

女生的网名这么多〃 提交于 2019-12-11 15:57:33
问题 Our app saves and retrieves items from Keychain for authentication using biometrics. On the 3rd incorrect attempt, I'm getting redirected onto device PIN code. Instead would like to prompt a message saying 3 incorrect tries. Code for retrieving the items OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)(query), &dataTypeRef); Saw the expected behaviour with Bank of America app, where it shows a message that user need to login manually after 3 incorrect tries 回答1: I assume you

APNs certificate missing private key when generating with custom keychain

此生再无相见时 提交于 2019-12-11 14:41:54
问题 I was trying to generate a new APNs certificate for my app on our build server but when I got to the "Export 2 items" step for the Certificate and Private Key, I found that I didn’t have two items. My certificate didn’t have any private key with it. I can see in my keychain that the certificate belongs to the System keychain whilst the public and private key are in my CI-Jenkins keychain . I repeated the process on my development machine and it worked fine there. The only difference being