Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing for the iPhone outside Xcode

Tags:

iphone

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 files in Emacs and run

xcodebuild
in the project to compile/link/etc.

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?

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

like image 335
Federico Builes Avatar asked Feb 04 '23 12:02

Federico Builes


1 Answers

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.

like image 94
Noah Witherspoon Avatar answered Feb 12 '23 16:02

Noah Witherspoon