Developing for the iPhone outside Xcode

后端 未结 3 1949
无人共我
无人共我 2021-01-31 12:54

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

So far I\'ve been able to edit all the f

相关标签:
3条回答
  • 2021-01-31 12:58

    Note also that you can set up XCode to use external editors, even for source code. In this setting, you'd open XCode to look at the treeview displaying the files and other items making up your project, but once you double-click a sourcecode file it would open in e.g. Emacs.

    There's a screencast over at Mac Developer Network demonstrating this: link

    0 讨论(0)
  • 2021-01-31 13:05

    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]/.

    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.

    0 讨论(0)
  • 2021-01-31 13:20

    I doubt it. If you jailbreak your phone and install SSH on it you could set up something to >>copy the .app over wifi, but that's a fair bit of work. – Noah Witherspoon Jan 13 '09 at 5:24

    I did all of my beginning iphone development work this way. Just ssh'ing over the binary executable and whatever other files you might need (after you locate the App folder on your phone) is actually much faster than installing the application from xCode. Note that I wasn't running the debugger.

    0 讨论(0)
提交回复
热议问题