Game Development Community

When exporting to Xcode, my project doesn't update

by Michael Davis · in iTorque 2D · 12/02/2011 (2:58 am) · 2 replies

Hey guys and girls of the GG community:

I'm a brand new Torque user, and I'm starting out with iTorque. I tried to do some searching before I started a thread on this, but I'm sure someone will point to where this question has been answered before and I'll look like a lazy jerk :)

When I hit the export iOS project button in the editor, and Xcode opens up and I hit run, the first version of my project that I'd sent to Xcode compiles every time, not the new versions with changes. I understand it's not GG's job to support Xcode issues, but I didn't know if there was a best practices guide or "getting started with iTorque XCode compiling" guide available; I looked through the documentation and I don't see a lot of information about once you've gotten out of iTorque and into XCode.

Again, I realize it's not on GG's shoulders to provide this information, and their docs and tutorials were great at getting me to this point :), but it's obviously something every iTorque developer is going to need to know, so I was wondering if there was a standard go-to source of information for this step.

#1
12/02/2011 (11:10 am)
Hey Michael,

I get good builds with these steps:

1.) clean DSO's using the cleandso.command for mac(, or cleandso.bat for windows) in your project folder.
2.) run the game again in the editor (iTGB)
3.) Clean your Xcode project (shift-command-k)
4.) run your xcode project, and you should see your updated code.
#2
12/02/2011 (8:46 pm)
That's awesome! Thank you very much.