[Lldb-commits] [PATCH] D65566: [lldb][CMake] Workaround debugserver code-signing issue in generated Xcode project

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 6 10:14:21 PDT 2019


sgraenitz added a comment.

Solutions are clearly favorable over workarounds like this, but I couldn't find one. Xcode has a mechanism called `sign on copy` which seems to be the native way to avoid this problem, but I couldn't get it to work with LLDB, because I want to copy the build output of a target and this caused a cyclic dependency. I didn't find more information about it and there seems to be no way to generate this behavior with CMake. The only way around seems to be a custom script, but that is no better than the workaround here.

Given the situation, that the problem is a symptom (1) of a workaround (2) that avoids a misbehavior of xcodebuild (3), I think the given fix is acceptable.

(1) copied debugserver not signed
(2) Xcode-specific signing process that avoid double-signing
(3) xcodebuild runs post-build steps even though the target was not built


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65566/new/

https://reviews.llvm.org/D65566





More information about the lldb-commits mailing list