Skip to content

Commit

Permalink
Print the codesign output (#492)
Browse files Browse the repository at this point in the history
* Print the codesign output

* Update CHANGELOG
  • Loading branch information
Pedro Piñera Buendía committed Sep 10, 2019
1 parent 25f0d75 commit e9dfae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Please, check out guidelines: https://keepachangelog.com/en/1.0.0/
### Added

- New InfoPlist type, `.extendingDefault([:])` https://github.com/tuist/tuist/pull/448 by @pepibumur
- Forward the output of the `codesign` command to make debugging easier when the copy frameworks command fails https://github.com/tuist/tuist/pull/492 by @pepibumur.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion Sources/TuistKit/Embed/FrameworkEmbedder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ final class FrameworkEmbedder: FrameworkEmbedding {
/// We need to ensure the frameworks are codesigned after being copied to the built products directory.
/// Passing `preserve-metadata=identifier,entitlements` ensures any signatures or entitlements which are
/// already there are preserved.
try system.run([
try system.runAndPrint([
"/usr/bin/xcrun",
"codesign", "--force", "--sign", codeSigningIdentity, "--preserve-metadata=identifier,entitlements", frameworkPath.pathString,
])
Expand Down

0 comments on commit e9dfae1

Please sign in to comment.