开发者

Executing binary on iPhone

开发者 https://www.devze.com 2022-12-10 03:31 出处:网络
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 compil开发者_如何学编程ed for arm.

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 compil开发者_如何学编程ed 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消