是否可以在不使用Xcode IDE的情况下为iOS构建静态库? [英] Can I build a static library for iOS without using the Xcode IDE?

查看:76
本文介绍了是否可以在不使用Xcode IDE的情况下为iOS构建静态库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我再也不能处理此特定项目的Xcode IDE!

I can't handle the Xcode IDE for this particular project anymore!

我有一个简单的C项目,我想将其构建到iOS的静态库中,并且我不想使用Xcode IDE.

I have a simple C project I want to build into a static library for iOS, and I don't want to use the Xcode IDE.

我熟悉xcodebuild,但是我的理解是,我首先需要创建一个Xcode项目来使用它-仅仅能够在命令行上构建项目并不是我的目标.

I'm familiar with xcodebuild but my understanding is that I'd first need to create an Xcode project to use it - and simply being able to build the project on the command line isn't my goal.

我想要这个项目的标准制作样式构建过程,但是似乎找不到有关执行此操作的任何信息.看来我做不到.是真的吗?

I want a standard make-style build process for this project but can't seem to find any information about doing such a thing. It seems like I can't. Is that true?

推荐答案

您绝对可以使用makefile项目.只需使用正确的路径等即可.

You absolutely CAN use a makefile project. It's just a matter of using the correct paths, etc...

这里有一些可以帮助您入门的东西:

Here's something to get you started:

iOS静态库交叉编译脚本

这篇关于是否可以在不使用Xcode IDE的情况下为iOS构建静态库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆