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.
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.
Ahhhhh, you're right. Sorry about the stupid question, I'm still a mac noob.
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