本文介绍了XCode 3.2 Ruby和Python模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在xcode 3.2下,我的ObjectiveC + Python / Ruby项目仍可以打开更新和编译,但不能创建新项目。

Under xcode 3.2 my ObjectiveC + Python/Ruby projects can still be opened updated and compiled, but you cannot create new projects.

python从xcode 3.2(即创建项目和添加新的ruby / python文件),是否有一个简单的方法来重新安装模板?

Given that all traces of ruby and python are missing from xcode 3.2 (ie create project and add new ruby/python file), is there an easy way to get the templates installed again?

我发现一些信息,将它们复制到某个文件夹,但我似乎无法使其工作,我怀疑文件夹位置已更改为3.2。

I found some info about copying them into a folder somewhere, but I cant seem to get it to work, I suspect the folder location has changed for 3.2.

推荐答案

3.2中的应用程序模板文件夹是:
/ Developer / Library / Xcode / Project Templates / Application

The folder for application templates in 3.2 is:/Developer/Library/Xcode/Project Templates/Application

python的模板位于:

Templates for python are at:http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/Project%20Templates/

use:

$svn co <address of template you want> /Developer/Library/Xcode/Project Templates/Application/<Folder you want it in>

例如

$svn co http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/Project%20Templates/Cocoa-Python%20Document-based%20Application/ /Developer/Library/Xcode/Project\ Templates/Application/Cocoa-Python\ NSDocument\ based\ Application

这篇关于XCode 3.2 Ruby和Python模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 22:45