From b3a75df76270bdb2fca9ac0ca195f5a6d8bfc238 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 4 Nov 2024 00:46:36 -0700 Subject: [PATCH] Added apple debug signing requirements --- client/Makefile | 6 +++++- client/ent.plist | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 client/ent.plist diff --git a/client/Makefile b/client/Makefile index eb95d75..b00340f 100644 --- a/client/Makefile +++ b/client/Makefile @@ -38,7 +38,7 @@ roleplay: $(OBJECTS) %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< -.PHONY: clean clean_compdb +.PHONY: clean clean_compdb run clean: rm -f $(SPV_FILES) @@ -53,6 +53,10 @@ clean_compdb: run: roleplay $(SPV_FILES) ./roleplay +.PHONY: debug-sign +debug-sign: + codesign --entitlements ./ent.plist -f -s "fake-apple-signing" ./roleplay + roleplay.dSYM: roleplay $(DSYM) roleplay diff --git a/client/ent.plist b/client/ent.plist new file mode 100644 index 0000000..045df8e --- /dev/null +++ b/client/ent.plist @@ -0,0 +1,18 @@ + + + + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.disable-executable-page-protection + + com.apple.security.cs.allow-dyld-environment-variables + + com.apple.security.cs.disable-library-validation + + com.apple.security.get-task-allow + + +