Problem
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.
Gussy -- aka Angus Peart has signed a CLA so this request is gtg from that side.
How To Test
- If you haven't already, create an alias to titanium in your ~/.bash_profile:- Create a module from the terminal:
- Open the module's project in Xcode 4.1+:
- 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.
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
Verified on Jeff English's machine. Looks good.
Closing bug. Verified fix on: OS: Mac OS X Lion SDK build: 1.8.0.1.v20111207151125