NG.
NG.

Reputation: 3

Executing binary on iPhone

I wonder how a can include an pre-compiled binary in an iPhone application.

I can't compile it inside XCode, I can only have the binary compiled for arm.

I tried the execve function, but always reports "Operation not supported", I thought it was something with file permissions, but even setting +x perm got the same error...

(Obviously it works on Simulator using an i386 binary)

any hints?

Upvotes: 0

Views: 155

Answers (1)

Louis Gerbarg
Louis Gerbarg

Reputation: 43452

No, you cannot. Launching separate processes is not supported on the iPhone.

Upvotes: 5

Related Questions