Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/lib/Zupersign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ int zsign_sign(
success = asset.Init(
cert, pkey, "",
string(static_cast<const char *>(entitlements[0].data), entitlements[0].len),
is_adhoc, false, false
// Real signatures get a single SHA-256 CodeDirectory, as codesign emits for deployment
// targets of iOS 11 / macOS 10.13 and later. App Store Connect rejects the SHA-1 primary
// plus SHA-256 alternate pair with 90034 ("not signed using an Apple submission certificate").
is_adhoc, !is_adhoc, false
);
if (!success) {
*exception = strdup("Invalid developer certificate/private key");
Expand Down