iOS How to implement bash into a app?

nightwalker21

macrumors newbie
Original poster
Jul 27, 2011
18
0
USA
I'm working on a app called HideMyX which hides the IntelliScreenX icon. But I'm trying to figure out how to implement bash into my app.
I know about system() but it's not working or I'm doing something wrong my code is in the attachment.
I'm using Theos not Xcode just let you guy's know.
So make sure anything you tell me can be used with Theos please?
 

Attachments

Last edited:

nightwalker21

macrumors newbie
Original poster
Jul 27, 2011
18
0
USA
Well for one I need it to have super user(su) permissions so the app can do what it was designed for.
 

1458279

Suspended
May 1, 2010
1,601
1,521
California
Well for one I need it to have super user(su) permissions so the app can do what it was designed for.
I'm not sure what the app is designed to do and don't know about the Super User permission does, but every app on a non-jailbroken device runs in a sandbox.

As far as I know, if your app need to get outside the sandbox, you're going to have problems.

You can look in the APIs and see if the functionality you want is there, but Apple is very restrictive with permissions.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.