Hi,
We are running NEAppProxyProvider on macOS and getting this error:
"copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 "client has neither application-identifier nor keychain-access-groups entitlements" UserInfo={NSDescription=client has neither application-identifier nor keychain-access-groups entitlements} "
when we call SecItemCopyMatching to lookup for the client identity item in keychain. As per documentation we do not need keychain-access-groups for macOS and also applcation-identifier is not needed, right? This happens only on macOS and iOS is fine.
Even when this error is thrown, we can successfully get the SecIdentityRef and it works fine. Just this error is thrown everytime when we run client on mac.
Thanks and regards.
Even when this error is thrown, we can successfully get the SecIdentityRef and it works fine. Just this error is thrown everytime when we run client on mac.
What do you mean by “thrown” here? In my mind an thrown error means that something has failed — and thus you wouldn’t get get an identity — but it sounds like you’re using that term to mean that something was logged.
ps Network Extension providers can only be distributed via the Mac App Store and thus your app will have the
application-identifier entitlement (on macOS this is actually
com.apple.application-identifier).
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"