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

Fix compilation errors when compiling on iOS #13

Open
FireMario211 opened this issue Mar 6, 2024 · 0 comments
Open

Fix compilation errors when compiling on iOS #13

FireMario211 opened this issue Mar 6, 2024 · 0 comments

Comments

@FireMario211
Copy link

Currently when compiling TulipHook with iOS, it fails to compile as importing anything related to mach_vm.h is unsupported.

error: mach_vm.h unsupported

While this can easily be bypassed by simply removing the definition in the header file, adding an #ifdef to check if the target is currently running on iOS and using alternatives to mach (like instead of mach_vm_allocate, use vm_allocate) should fix this issue. Same with types.

Otherwise, the DarwinTarget.cpp file may need to have new code written for when iOS is the target.

qimiko added a commit that referenced this issue Mar 12, 2024
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

1 participant