-
Notifications
You must be signed in to change notification settings - Fork 123
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
a few things crash mettle on iOS 7.1.2 as root #66
Comments
I have not tried as root yet. I was just adding the build/*-iphone-darwin/lib libraries to an xcode project and running it on a non-jailbroken device with this:
On 9.3.4 the ps command fails with operation not permitted. On 7.1.2 it works fine. The webcam_ commands work on both. |
@timwr : Could you explain how you got mettle to work by simply adding the static libs? Did you also include the header files and what did you import in the bridging header? Thanks a lot in advance. Btw. I'm trying my luck on iOS 11.3 |
@doktordos it's a bit fiddly, first build mettle |
@ timwr: The steps you described worked just fine and without your code snippet from above Xcode builds without any errors. But when I paste the snippet in Xcode it complains with the following error:
I googled the error and this seems to be related to not finding the appropriate header files. |
You need to include mettle.h |
These things work on macOS, but crash on my iPhone 4 with iOS 7.1.2:
webcam_* operations die with a SIGSEGV
ps dies with a SIGKILL
The text was updated successfully, but these errors were encountered: