When I run my application built into the Xcode 6 / iOS SDK beta 3 in Simulator, the SecItemCopyMatching function returns error code -34018 (errSecMissingEntitlement).
OSStatus result = SecItemCopyMatching ((__bridge CFDictionaryRef)retrieveQueryDict, (CFTypeRef *)&dataRef);
I noticed this problem in beta 1, then in beta 2 it was fixed. In addition, Apple mentions the release of beta 1 fixed in beta 2. So far, so good. But then, in beta 3, this error occurs again, in the same place. But this time no explanation.
Does anyone else have this problem or do you have a workaround? This should only happen on Simulator (at least it was in the case of beta-1, at the moment I do not have a device to check), but for unit tests it is a blocker.
source
share