diff --git a/admin/osx/mac-crafter/Sources/Utils/Codesign.swift b/admin/osx/mac-crafter/Sources/Utils/Codesign.swift index c72ca0d66ae2b..4df74d68f308a 100644 --- a/admin/osx/mac-crafter/Sources/Utils/Codesign.swift +++ b/admin/osx/mac-crafter/Sources/Utils/Codesign.swift @@ -36,7 +36,7 @@ func codesign( options: String = "--timestamp --force --preserve-metadata=entitlements --verbose=4 --options runtime --deep" ) throws { print("Code-signing \(path)...") - let command = "codesign -s \"\(identity)\" \(options) \(path)" + let command = "codesign -s \"\(identity)\" \(options) \"\(path)\"" guard shell(command) == 0 else { throw CodeSigningError.failedToCodeSign("Failed to code-sign \(path).") }