Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Module SDK documentation seems to be incorrect.

Referring to this link: http://developer.appcelerator.com/doc/mobile/iphone/module_sdk

Unless I've somehow installed Titanium Developer 1.2.1 incorrectly, there is no mobilesdk folder inside of my /Library/Application Support/Titanium/ folder. It only contains an "appdata" folder.

Is there some other SDK I have to install in order to create an iPhone module?

Just in case I'm going about this the wrong way, what I really need to do is be able to read the device's phone number. I know the SDK doesn't provide access to that for security reasons, but I figured a custom module would be capable of accessing that info.

One other thing, do Android modules work yet? I keep running across 3 month old docs that say it isn't implemented yet.

— asked July 6th 2010 by Chris Kelly
  • android
  • iphone
  • module

3 Answers

  • You are looking in the wrong place.

    Open Terminal and write the following:

    open /Library/Application\ Support/Titanium/

    You can also open Finder, click on your harddrive and click Library/Applica….

    You opened /Users/Library/Applica… which is wrong.

    — answered July 6th 2010 by Chris Magnussen
  • Ahhhhh, you're right. Sorry about the stupid question, I'm still a mac noob.

    — answered July 6th 2010 by Chris Kelly
  • Although, now I'm getting this error.

    mac-mini:Library gasbot$ sudo /Library/Application\ Support/Titanium/mobilesdk/osx/1.3.0/iphone/xcode/templates/install.py
    sudo: /Library/Application Support/Titanium/mobilesdk/osx/1.3.0/iphone/xcode/templates/install.py: command not found

    — answered July 6th 2010 by Chris Kelly
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.