Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4861] iOS: Update Module File Templates for XCode 4

GitHub Issuen/a
Resolution Date2011-11-03T13:44:38.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-44, Release 1.8.0
ReporterDawson Toth
AssigneeDawson Toth



When creating a new module with XCode 4 installed, the build scripts incorrectly install the XCode file templates relevant to modules. If you try to create a new file in XCode, you will not see the "Appcelerator" group or any of the file options such as "TiModule", "TiProxy", "TiUIView", etc.

Pull Request

"Gussy" has contributed a fix to this issue, and it is available here: https://github.com/appcelerator/titanium_mobile/pull/104 I have tested this out in my local environment and it works well.


  1. Tony Guntharp 2011-09-21

    Gussy -- aka Angus Peart has signed a CLA so this request is gtg from that side.
  2. Dawson Toth 2011-10-24

    How To Test

    - If you haven't already, create an alias to titanium in your ~/.bash_profile:
    alias titanium="/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.0/titanium.py";
    - Create a module from the terminal:
    titanium create --type=module --platform=iphone --name=templateTesting --id=ti.templateTesting
    - Open the module's project in Xcode 4.1+:
    open templateTesting/templatetesting.xcodeproj
    - In Xcode, right click on the project name, and choose "New File...". - If there is a seventh category, "Appcelerator", under the iOS category, this test passes. If not, it fails.
  3. Dawson Toth 2011-10-24

    I created a new pull request for this to make it easy to test with the latest version of the SDK, and to make it easy to merge in: https://github.com/appcelerator/titanium_mobile/pull/579
  4. Dawson Toth 2011-11-03

    Verified on Jeff English's machine. Looks good.
  5. Wilson Luu 2011-12-07

    Closing bug. Verified fix on: OS: Mac OS X Lion SDK build:

JSON Source