Reputation: 375
I want to run an executable file in my iOS app. (or execute some command line commands)
I think this can be done with the help of NSTask, but that doesn't seem to be available in iOS (its available for mac OS X only).
So,
I want my app to be uploaded on the app store, so please don't answer anything related to jailbreaking.
Also, Don't tell me apple would reject it, i want to take a chance.
Upvotes: 2
Views: 5526
Reputation: 112857
You can't run an executable from your app due to the sandboxing. From the list 1-4 are not possible.
NSTask
is not available because it would violate the sandboxing.
Upvotes: 2