Hello There, I'm developing a mobile application for iOS 6.0 using Titanium SDK 2.1.2. My question is how can the changes in xcode be made so that they are reflected in the titanium studio.
For example, Consider the startup() method.
// this method is called when the module is first loaded // you *must* call the superclass [super startup]; NSLog(@"[INFO] %@ loaded",self);
This works fine printing the module name.
Consider another situation........
// this method is called when the module is first loaded // you *must* call the superclass [super startup]; NSLog(@"Entered"); NSLog(@"[INFO] %@ loaded",self);
This also works well when we run the code in the console using "titanium run" command. i.e both the messages are printed.
But, If I run the newly build module in the titanium studio only one message prints. i.e the module name. This means that titanium studio is running the old build. What shall I do so that the changes are reflected in titanium studio. Can anybody help me?
When you make changes in the Objective C files in your Titanium project, they wont be reflected because for every build all your files are recopied, hence all your changes wont take effect. And it is highly not advisable by appcelerator itself to code in the native files. whatever you want to do, do it in your JS files.
Think you can help? Login to answer this question!