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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to