开发者

Using Emacs with Xcode 4?

开发者 https://www.devze.com 2023-03-28 20:38 出处:网络
I want to get rid of the slow code editor of Xcode 4 and use Emacs instead. In Xcode 3 I can do this from the file types preferences, but I can\'t find that in Xcode 4.

I want to get rid of the slow code editor of Xcode 4 and use Emacs instead. In Xcode 3 I can do this from the file types preferences, but I can't find that in Xcode 4.

How can I change the editor in Xcode 4?


If for some reason Apple went crazy and removed this feature from Xcode, is there a way to edit the xcodeproj from within Emacs (add/remove files), as well as build and use the i开发者_运维技巧Phone Simulator?


In answer to your questions:

  1. Yes, Apple went crazy and removed the ability to associate an alternative editor so you won't be able to automatically use Emacs as an editor within Xcode4 as you did under Xcode3. You will have to setup your project in Xcode4 and (separately) use Emacs to edit source files in the project.

  2. You can use the "xcodebuild" command line tool to build your Xcode4 project from within Emacs. Just Google or search through SO earlier messages for some tips on how people do this.

  3. To install your app on the simulator and run it from the command line, read the replies to this post.

0

精彩评论

暂无评论...
验证码 换一张
取 消