Changes done in xcode are not reflected in the titanium module.

You must Login before you can answer or comment on any questions.

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.

-(void)startup {

// 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........

-(void)startup {

// 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?
— asked 8 months ago by Akash Sheelavant
11 Comments
  • Are you building a new iOS module? or you are just putting nslog in SDK objective C files..

    — commented 8 months ago by Ajeet pratap Maurya

  • I'm putting NSLog in ObjC files.

    — commented 7 months ago by Akash Sheelavant

  • How to use a library inside Titanium Studio?

    — commented 7 months ago by Akash Sheelavant

  • Show 8 more comments

1 Answer

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.

Your Answer

Think you can help? Login to answer this question!