我有一个开源项目(gdal),我想编译并作为iOS应用程序的一部分运行。 我一直在期待使用NSTask但现在我发现它在iOS 3.0中已被删除。 我也看到其他地方运行外部应用程序,虽然这将是我的应用程序包中的资源,但不允许。
其他人是否找到了在iOS应用程序中运行命令行工具的方法?
I've an open source project (gdal) that I want to compile and run as part of an iOS app. I had been expecting to use NSTask but I see now that it was removed in iOS 3.0. I've also seen elsewhere that running external applications, though this would be a resource in my app's bundle, is not allowed.
Has anyone else found a way to run commandline tools within their iOS applications?
最满意答案
它在3.0没有被删除,它从来没有在那里。 没有办法在iPhone上运行单独的进程。 GDAL似乎是MIT风格的许可证,并有一个库接口,所以直接链接到iPhone应用程序不应该有任何法律或技术问题。
It wasn't removed in 3.0, it was never there. There is no way to run separate processes on the iPhone. GDAL appears to be under an MIT style license and has a library interface, so directly linking it into an iPhone app shouldn't have any legal or technical issues.
更多推荐
发布评论