Post

Replies

Boosts

Views

Activity

Keychain Sharing among Developer Cert signed apps
I am putting together a demo app that will pick up keychain items shared via Keychain Access Groups (or Shared Items Groups, as described here). Sadly, I'm getting the infamous -34018 A required entitlement isn't present error when trying to load successfully saved items from main app A into my demo app B via SecItemCopyMatching. From everything I can tell -- after looking at Quinn's excellent Troubleshooting -34018 Keychain Errors post -- after dumping out the entitlements plist, I see the main app A and my new demo app B both have different ApplicationIdentifierPrefix'es compared to the team identifier. ApplicationIdentifierPrefix and TeamIdentifierPrefix are supposed be the same thing. I believe (from this ancient StackOverflow answer) it might be due to the fact I'm using my developer certificate (the one associated with my current team) along with Xcode's automatically managed signing may still be accidentally generating random application identifiers. Is it possible to do keychain item sharing with apps that were built/installed with developer provisioning profiles?
2
0
765
Sep ’23
get information about my installed PriviledgedHelperTools
My app installs a couple PrivilegedHelperTools. Right now I get information about my previously installed tools via the long deprecated SMJobCopyDictionary. E.G.: SMJobCopyDictionary( kSMDomainSystemLaunchd, (__bridge CFStringRef)toolName ) which I then use to determine whether these tools need an update at my app's launch time. Is there a better, modern, non-deprecated way to look up information about my previously installed helper tools?
1
0
468
Jun ’20