Browse Source

Projucer: Default to "Sign to Run Locally" when no signing identity is specified

By default, x86_64 binaries are not signed, but arm64 binaries are. When
building universal binaries, it was possible to end up with a final
artefact that contains an unsigned x86_64 image, but a signed arm64
image. In some cases, this could cause issues in subsequent codesign
invocations.
v6.1.6
reuk 4 years ago
parent
commit
8bacf8c15c
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 2
- 1
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

@@ -2466,7 +2466,8 @@ private:
if (isUsingDefaultSigningIdentity (config))
return iOS ? "iPhone Developer" : "Mac Developer";
return config.getCodeSignIdentityString();
const auto identity = config.getCodeSignIdentityString();
return identity.isNotEmpty() ? identity : "-";
}
StringPairArray getProjectSettings (const XcodeBuildConfiguration& config) const


Loading…
Cancel
Save