在Xcode之外为iPhone开发 [英] Developing for the iPhone outside Xcode

查看:98
本文介绍了在Xcode之外为iPhone开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从命令行和我的个人编辑器开发和运行我的iPhone应用程序,而不必使用Xcode。

I'd like to develop and run my iPhone applications from the command line and my personal editor instead of having to use Xcode.

到目前为止,我一直在能够编辑Emacs中的所有文件并在项目中运行

So far I've been able to edit all the files in Emacs and run

xcodebuild

来编译/链接/等。

下一步是创建一个Makefile任务,用我当前的应用程序启动iPhone模拟器。关于我该怎么做的任何想法?

The next step would be to create a Makefile task to launch the iPhone Simulator with my current application. Any ideas of how can I do that?

更新:我对XCode调用我的编辑器不感兴趣,我只是想尽可能地忘记IDE 。

Update: I'm not interested in XCode calling my editor, I just want to forget about the IDE as much as I can.

推荐答案

您需要做的就是将构建的.app从XCode放到的地方复制到〜 / Library / Application Support / iPhone Simulator / [some version] / Applications / [somefolder] /

All you need to do is copy the built .app from wherever XCode puts it to ~/Library/Application Support/iPhone Simulator/[some version]/Applications/[somefolder]/.

然后,启动 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iOS Simulator.app 。不知道如何让它启动特定的应用程序,但这将带你到主屏幕。

Then, launch /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iOS Simulator.app. Not sure how to get it to launch a specific application, but that'll take you to the home screen.

这篇关于在Xcode之外为iPhone开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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