XCode 3.2 Ruby and Python templates

前端 未结 5 2169
花落未央
花落未央 2021-01-18 09:18

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

Given that all traces of ruby and

相关标签:
5条回答
  • 2021-01-18 09:54

    Here's the word on this from Chris Espinosa on the Xcode-Users mailing list:

    We are deemphasizing Cocoa-Python and Cocoa-Ruby, though existing project will continue to build in Xcode. You can duplicate one of your existing projects and use the new Rename command to start a new project.

    Bugs filed against the removal of these templates will be duplicated to No Python/Ruby templates in Xcode, and we'll use that bug to gauge the need for that support in the future.

    I'd say file a bug report at https://bugreport.apple.com to voice your opinion on the subject.

    0 讨论(0)
  • 2021-01-18 10:03

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

    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>
    

    e.g.

    $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
    
    0 讨论(0)
  • 2021-01-18 10:08
    • Download the Cocoa-Ruby Templates to your '/Developer/Library/Xcode/Project Templates/Application/Ruby Application/' and '/Developer/Library/Xcode/File Templates/Ruby/' directories.
    • Install the latest version of Ruby Cocoa.

    More info can be found on the Ruby Cocoa website.

    0 讨论(0)
  • 2021-01-18 10:08

    The above coments were all good and helpful but didn't really help. Easiest thing I could find is to create an empty python/ruby project in xcode 3.1, then make copies of this project folder for every new project you work on.

    When you open the new/blank project, 3.2 has a new feature that lets you rename the project so you can have proper names for eacn new project.

    0 讨论(0)
  • 2021-01-18 10:11

    Beginning with Xcode 3.2, Apple decided to not include project and file templates from 3rd party projects (including PyObjC, RubyCocoa or MacRuby). Since these template files were often updated more frequently than Xcode's release cycle, the templates shipped with Xcode were often out of date. Developers are now encouraged to install the templates directly from those projects' repositories. PyObjC templates are currently available only in SVN, though the PyObjC devs intend to make them available on the website "soon". This question details how to install new templates.

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