简体   繁体   English

在Ubuntu上编译iOS项目?

[英]Compile iOS projects on Ubuntu?

Is it possible to compile my Objective-C iOS-specific project on anything other than OSX? 是否可以在OSX以外的任何其他项目上编译我的Objective-C iOS特定项目? I spend a lot of time in Windows and it'd be less of a hassle if I could, at the very least, SSH into my Ubuntu machine and edit code / compile on there. 我花了很多时间在Windows上,如果我能够,至少可以通过SSH连接到我的Ubuntu机器并在那里编辑代码/编译,那就不那么麻烦了。 I think the only thing I'd need the Macbook for would be editing storyboards and running the iphone emulator. 我认为我唯一需要的Macbook就是编辑故事板和运行iphone模拟器。

I just have a lot of free time every day, but don't have access to my Macbook until I get home around 7pm. 我每天都有很多空闲时间,但直到晚上7点左右回家才能访问我的Macbook。 Are there any good ways to remotely work on an XCode iOS project? 有没有什么好方法可以远程处理XCode iOS项目?

Yes, it is, although you'll need a jailbroken device for this. 是的,虽然你需要一个越狱设备。 You are also going to need to build the opensource, non-official toolchain for yourself , or get a precompiled version. 您还需要为自己构建开源,非官方工具链 ,或者获得预编译版本。

Hey, you can even make GCC run on your iPhone itself (that's how I use it). 嘿,你甚至可以在你的iPhone上运行GCC(这就是我使用它的方式)。

Why not SSH into the Mac and use the command-line tools that come with Xcode? 为什么不通过SSH连接到Mac并使用Xcode附带的命令行工具?

Or, more comfortably, just remote into the Mac via one of the many remote desktop solutions out there (TeamViewer is free for personal use and quite good at poking through NATs etc., but there are a lot of other options) and use Xcode. 或者,更舒适的是,通过众多远程桌面解决方案之一远程进入Mac(TeamViewer是免费供个人使用,非常擅长通过NAT等,但还有很多其他选项)并使用Xcode。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM