O'Reilly logo

Appcelerator Titanium Smartphone App Development Cookbook - Second Edition by Jason Kneen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging and testing your module using the test harness

Now it's time to build, package, and test our new module! Before you go ahead with this recipe, make sure that you've built the XCode project and it has been successful. If not, you will need to fix any errors before continuing.

How to do it…

Firstly, we need to compile and build our module. In the iPhone folder (where the XCode project is located), you need to run the build script, so from the terminal, type ./build.py (or python ./build.py).

XCode should start compiling the module within the terminal, and you'll hopefully see a ** BUILD SUCCEEDED ** message if everything goes as planned. At this point, there should be a .zip file in the current folder, called com.packtpub.bitlymodule-iphone-1.0.0.zip ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required