Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug and breakpoint on xcode #88

Closed
piotrus04 opened this issue Nov 9, 2022 · 2 comments
Closed

Debug and breakpoint on xcode #88

piotrus04 opened this issue Nov 9, 2022 · 2 comments

Comments

@piotrus04
Copy link

Hi, do you know how to use breakpoints and debug functionnality in xcode with resolume? I could not make it work as we do with other softwares ...

@stith
Copy link

stith commented Dec 30, 2022

This is because Resolume's binary is (as it should be) hardened. If you check your Console.app, you'll see an error along the lines of:

macOSTaskPolicy: (com.apple.debugserver) may not get the task control port of (Arena) (pid: 68579): (Arena) is hardened, (Arena) doesn't have get-task-allow, (com.apple.debugserver) is a declared debugger(com.apple.debugserver) is not a declared read-only debugger

I don't think there's a way around this except for, like, re-signing Resolume Arena with a custom entitlement? Either that, or disabling SIP entirely while you debug FFGL plugins.

@piotrus04
Copy link
Author

Hi! Thanks a lot for the advice.
This script should do the job for any hardened app :
https://gist.github.com/talaviram/1f21e141a137744c89e81b58f73e23c3
All the best
Pierre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants