Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you install a Appcelerator Titanium Module in OSX

Tags:

titanium

I cannot find any instructions on how to install modules into Titanium

I have downloaded a trial version of the TVOut module from the Appcelerator webpage

https://developer.appcelerator.com/package/28/tv-out/media

however it doesn't say how to install this into Titanium?

I know it needs to end up in /Library/Application Support/Titanium/Modules but just unzipping into this location is not enough.

What is the command line script which I can run on the zip which will allow me to use it?

thx

like image 288
joneswah Avatar asked Mar 18 '11 07:03

joneswah


3 Answers

here are the guides. if you build your module successfully you need to put the zip in root/Library/Application Support/titanium/. (not /users/name/Library/..). you need to add the module within your tiapp.xml like that

    ....
    <modules>
        <module version="0.1">nameOfYourModule</module>
    </modules>
</ti:app>

now the titanium preprocessor should build your module while building your project.

like image 191
mkind Avatar answered Sep 29 '22 08:09

mkind


EDIT - In Titanium Studio, just go to Help > Install Mobile Module...

This brings up a dialog that lets you browse your filesystem for the module file. Find the zip file inside the downloaded module folder ( example: ti.imagefactory-iphone-1.1.1.zip ) and it should work magically.

This is the most up to date guide for using and installing modules:

http://docs.appcelerator.com/titanium/latest/#!/guide/Using_a_Module

like image 28
bluegreen Avatar answered Sep 29 '22 08:09

bluegreen


You can also read complete instructions here:

https://wiki.appcelerator.org/display/tis/Using+Titanium+Modules

like image 23
Andreas Avatar answered Sep 29 '22 07:09

Andreas