Skip to content
Merged
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
6 changes: 5 additions & 1 deletion build/nuke/Native/SDL2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ static readonly (string Sdk, string Arch, string Rid, string Args)[] iPhoneConfi

EnsureCleanDirectory(Path.GetDirectoryName(@out));
InheritedShell($"lipo -create -output \"{@out}\" \"{@in}\"").AssertZeroExitCode();
InheritedShell($"strip -Sx \"{@out}\"").AssertZeroExitCode();
InheritedShell($"strip -Sx -no_code_signature_warning \"{@out}\"").AssertZeroExitCode();

// Re-sign, as lipo and stripping invalidates the signature
InheritedShell($"codesign --remove-signature \"{@out}\"").AssertZeroExitCode();
InheritedShell($"codesign --sign - \"{@out}\"").AssertZeroExitCode();
}
}

Expand Down