Apple’s notarization troubleshooting guidance identifies a specific failure condition: an executable submitted for notarization does not have hardened runtime enabled. If your log reports that condition, first locate the exact file named in the log, then check that file’s signature and runtime configuration. Do not assume every executable in the app has the same problem.
This guide is for macOS developers working through a hardened runtime error in a notarization log; engineers maintaining signing or packaging scripts; and release teams shipping apps that contain multiple executable files.
Notarization hardened runtime error: start with the named object
The wording in the log matters. A message that identifies an executable without hardened runtime points you toward that executable. It does not, by itself, establish that the main app, every embedded helper, or the entire archive has the same defect. Apple’s common notarization issues guidance gives a hardened-runtime-specific troubleshooting direction; treat it as evidence for that error, not as a universal explanation for all notarization rejections.
Begin with the submission’s own log. With notarytool, retrieve the log for the relevant submission using the workflow in Apple’s notarytool documentation. Record the submission identifier, then read the issue details and file path together. The path is the starting point for inspection. Keep the original log with the release record so you can compare it with the result of a later submission.
A log may identify a nested helper, command-line tool, plug-in, or other executable within the submitted app. That narrows the investigation. It does not tell you whether the cause is a missing runtime flag, a broken signature, or a difference between the built target and the artifact you actually submitted. Those are separate checks.
What should you do when the log says the executable does not have hardened runtime enabled?
Treat the message as a targeted lead. Find the exact executable at the path shown in the log, then inspect its code signature and the build configuration for the target that produces it. If the path cannot be matched to the artifact you submitted, stop before changing settings: first establish which copy the submission contained.
Do not start by changing the project-wide setting, adding entitlements, or re-signing every file. Each action can affect targets that the log did not identify, and each makes it harder to tell whether you corrected the reported issue.
Check the target, signature, and runtime as separate indicators
The practical question is not simply “Is my app signed?” Check three distinct indicators for the object named in the log:
- Target identity: Does this path resolve to the expected executable inside the submitted artifact?
- Signature validity: Does the signature verification command complete successfully for that object?
- Runtime status: Does the signature inspection show the hardened runtime flag for that object?
Apple’s code signing guide describes code-signature verification as a way to check whether signed code remains intact. For a focused check, run codesign --verify --deep --strict --verbose=2 against the app or relevant signed object. Use the log path to decide what to inspect; do not let --deep make you skip a targeted check of the named executable.
Next, inspect the signature details for that same object with codesign -dv --verbose=4 /path/to/object. Replace the example path with the actual path in your submitted artifact. Review the output for signing details and the runtime flag. Apple documents the hardened runtime configuration in its Xcode hardened runtime guidance. A verification failure and a missing runtime flag are not interchangeable findings: one points to a signature verification problem, while the other points to runtime configuration.
Use this comparison to decide what to do next:
- Signature verification fails; runtime status is not yet established. Fix the signature problem first. Do not label it a hardened runtime configuration failure until you have evidence for that as well.
Editorial diagnostic confidence: high when the verifier reports an error on the exact logged object; low if you inspected only the app wrapper. - Signature verification succeeds; the logged executable lacks the runtime flag. Check the build setting and the signing step for the target that creates that executable. This is the closest match to the hardened-runtime error described in Apple’s troubleshooting guidance.
Editorial diagnostic confidence: high when the signature details and the notarization log identify the same file. - The logged executable has the runtime flag, but notarization still reports a problem. Recheck the path, submitted copy, and current log. Do not keep changing runtime settings based on a result that no longer matches the inspected artifact.
Editorial diagnostic confidence: medium until you have confirmed that the inspected file is the one in the submission.
These confidence labels are an editorial aid, not an Apple rating or a promise that notarization will pass. Their purpose is to prevent a common diagnostic shortcut: treating every signature-related message as proof of the same underlying fault.
Verify hardened runtime on the built executable
How do you locate the file that lacks hardened runtime in the notarization log?
Match the reported path against the contents of the exact archive or app you submitted. If the path names an embedded helper, locate that helper inside the app bundle and inspect it there. If you have separate copies from different build or packaging steps, compare their paths and timestamps rather than assuming that the copy in your working build folder is the submitted one.
Keep the log text and the inspected path side by side. This helps catch a mismatch between the release artifact and your local build. It also helps when a packaging script copies an older executable into the final bundle after Xcode has built the intended target.
Once you have confirmed the object, inspect the target’s build settings. Apple’s build settings reference and guidance on configuring a target’s build settings provide the official reference for target-level configuration. Check the setting on the target that produces the logged executable, not just a top-level project setting or a different app target. In Xcode, verify the configuration used for the release build as well as the target’s effective settings.
Apple’s hardened runtime guidance describes enabling the capability through the Hardened Runtime setting in the target’s Signing & Capabilities configuration. Confirm that setting for the affected target, then verify the resulting executable rather than relying only on the project editor. The built signature is the evidence that the setting reached the object you plan to submit.
A setting that appears enabled in Xcode does not prove that every executable in the package was built from that target or signed in the same way. A manually copied helper, an independently built tool, or a later packaging step can leave the final app with a component that does not match the setting you reviewed. That is why the notarization log path, target configuration, and signature inspection must agree.
Important: A runtime exception entitlement is not a substitute for enabling hardened runtime. First establish whether the affected executable has the runtime enabled. Consider an exception only if a documented app function requires it.
Review exception entitlements only when the app needs them
Hardened runtime can restrict certain behaviors, and some apps may need an exception for a specific function. That does not make exception entitlements a general-purpose fix for a missing runtime setting. Adding one without identifying a real requirement can expand the app’s allowances while leaving the reported configuration defect unresolved.
Start from the behavior your app actually uses. Identify the feature that needs an exception, then check Apple’s hardened runtime configuration documentation for the relevant capability and its stated requirements. Verify that the entitlement is applied to the correct executable and included in the signature you will submit. Do not copy an entitlement from another app merely because it appears to have a similar notarization issue.
Keep the diagnosis specific:
- If the log says the executable lacks hardened runtime, confirm runtime status first.
- If the runtime is enabled but your app’s documented behavior is blocked, assess the smallest relevant exception.
- If the log reports a signature or another notarization issue, investigate that issue on its own terms rather than adding runtime exceptions.
The goal is not to maximize permissions or to make a rejection disappear through trial and error. It is to produce a signed executable whose runtime configuration matches its actual requirements and the applicable Apple guidance.
Resign the affected object or the whole app?
A hardened runtime error does not automatically mean you must re-sign the entire app. The scope depends on what changed and how the app is signed. If you change the configuration for one helper, you must ensure that the final app contains the corrected helper and that the enclosing bundle’s signatures remain valid. If your packaging or signing process signs the app as a whole, rerun that process according to your release procedure.
Use the log to identify the smallest affected target, but do not assume you can replace a nested executable without checking the bundle afterward. A code change or signing operation can affect the validity of signatures elsewhere in the package. Apple’s code signing guidance explains the need to verify signed code; use that verification after the final signing step, not only on an intermediate build.
If the signature is invalid because content changed after signing, re-sign the affected content and then verify the final app using your established signing workflow. If the runtime setting was missing, rebuild or re-sign the target through the correct release path so the final executable carries the intended configuration. In either case, the outcome that matters is the artifact you submit, not an earlier intermediate copy.
A release check you can run before resubmitting
Use this checklist after you have made a targeted change. Keep the results with the new submission so the next diagnosis uses current evidence rather than an old log.
- [ ] Save the latest
notarytoollog and record the submission identifier. - [ ] Confirm that the log’s file path maps to an executable inside the artifact you intend to submit.
- [ ] Run signature verification against the logged object and record whether it succeeds.
- [ ] Inspect the signature details for that same object and confirm whether the hardened runtime flag is present.
- [ ] Check the effective build setting for the target that produces the object, using Apple’s target and build-setting documentation as references.
- [ ] Review exception entitlements only if an identifiable app feature requires them.
- [ ] Complete the final packaging and signing steps, then verify the resulting release artifact again.
- [ ] Submit that artifact and save its new submission result and log separately from earlier attempts.
This order limits guesswork. It also answers whether you need to rebuild a target, correct a signing step, adjust a necessary entitlement, or stop changing runtime configuration because the current log points elsewhere.
Validate the final submission, not a convenient local copy
The final handoff is a frequent source of false conclusions. You may have fixed the correct target in a build directory while a packaging step later copied a different version into the release app. You may also have signed the app and then changed its contents. In either case, a check performed before the last modification does not establish the state of the submitted object.
After your last content change, complete the signing workflow and inspect the object named in the earlier log again. Then run the signature verification against the final app or relevant component. Submit only that artifact. Apple’s notarization workflow documentation describes the submission and log workflow; use the resulting new submission record to evaluate the corrected package.
Keep each attempt’s log associated with its own artifact. When the next submission produces a different result, do not use the earlier log to decide what the new package contains. Record the path inspected, the signature verification result, the runtime status, and the new submission outcome. That gives your release team a reproducible trail and prevents a stale diagnostic from driving unnecessary changes.
If your current workflow depends on a shared or remote Mac, use the same artifact discipline: transfer the exact release package, inspect it where the signing and submission steps occur, and preserve the corresponding log. SSHMac’s help center can help you review remote access and workflow questions. You can also read SSHMac’s overview of its remote Mac service before deciding whether a separate macOS environment fits your release process. A hosted Mac does not correct a missing runtime flag by itself.
When local hardware is busy or unavailable, a real remote Mac can provide a separate macOS environment for reproducing the signing and submission workflow. That can be useful for a temporary release check, but it adds transfer and access steps, and you still need to verify the exact artifact you submit. Buying a Mac can make more sense for sustained work or when you need direct access to specific physical devices; a remote environment is less suitable when your workflow depends on local peripherals or uninterrupted long-term heavy use. If you need a temporary macOS environment to repeat these checks, you can review the available option from SSHMac, while keeping the diagnosis centered on the logged executable and its final signature.