我是XCode的新手,仍然试图理解Objective-C。 我正在使用xcode 4.3.2,我必须创建一个与PJSIP集成的应用程序。
我找到了这个链接 。 我仍然对这个链接感到困惑,因为文章说我们必须安装命令行工具。 但命令行工具已经安装在我的XCode中。 我怎么用呢?
我是否需要创建视图基础应用程序? 如何运行命令行工具,如链接所示?
I'm new with XCode and still trying to understand objective-C. I'm using xcode 4.3.2, and I have to create an app that integrates with PJSIP.
I found this link. I am still confused about that link, because the article said that we must have installed the command line tool. But the command line tool is already installed in my XCode. How can i use it?
Do I need to create a view base application? how can I run the command line tool like the link says?
最满意答案
命令行工具允许您从源代码编译“传统UNIX程序”,通常使用make 。 如果您使用Xcode创建项目,那么您甚至不需要安装它们。
编辑好你已经编辑了你的问题,说明你面临的真正问题; 您不知道如何使用已安装的PJSIP软件包。 您引用的链接是关于构建PJSIP而不是使用它,因此您仍然可以忘记命令行并专注于如何配置Xcode项目以使用PJSIP。 这将需要设置标题搜索路径和库搜索路径以查找头文件和库文件,以便编译和链接它。 希望它是一个静态库,因为它更容易使用; 如果它是一个动态库或框架,那么你的工作就会被删除,因为它更难以使用。
I done with it by myself. if you face the same problem, you can refer to this link, I already tried and run it. It works both on simulator and device. thanks.
更多推荐
发布评论