Error code
macOS -34018
MACOS-34018
System Error Code· A POSIX/system errno returned when a system call fails.
What it means
Keychain entitlement missing (errSecMissingEntitlement) — an app tried to access a Keychain item but lacks the required entitlement..
How to fix it
- Delete the existing Keychain entry for the app and let it recreate one.
- if building the app ensure correct entitlements are set in Xcode.
- reset Keychain Access if many items are affected.
Not affiliated with macOS. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.
More macOS codes
- -34Disk full (dskFulErr) — the destination volume has no remaining free space.
- -10004Application not found (Launch Services) — no registered handler exists for the bundle identifier or URL scheme.
- -108Not enough memory (memFullErr) — the system could not allocate the requested heap space.
- -10810Cannot open application — the Launch Services framework failed to open the requested app.
- -120Directory not found (dirNFErr) — the specified directory path does not exist.
- -128User cancelled operation (userCanceledErr) — the user dismissed a dialog or pressed Command+Period to stop the operation.
- -1708Apple Event not handled (errAEEventNotHandled) — the target app has no handler registered for the received Apple Event.
- -1712Apple Event timeout (errAETimeout) — an inter-process Apple Event did not receive a reply within the allowed time.
- -192Resource not found (resNotFound) — the Resource Manager could not locate a requested resource handle.
- -25291Screen is locked — a Keychain or security operation requires an unlocked screen.
- -25307Security framework error — a Keychain or certificate trust operation returned an unexpected error.
- -35Volume not found (nsvErr) — the operating system could not locate the specified volume.