Forcing XCode to re-upload Package contents to emulator.

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Arkiruthis
Gremlin
Posts: 178
Joined: Fri Dec 24, 2010 7:55 pm
x 10

Forcing XCode to re-upload Package contents to emulator.

Post by Arkiruthis »

Sorry, I know this isn't an Ogre-on-iPhone specific question, but I'm guessing many of you have encountered this.

I'm working on a terrain shader and I often make changes to it and run the XCode project to see it in the emulator.

However, to make sure that that the newly updated shaders (in the Ogre media directory) get re-uploaded to the emulator, I have to either:
A - Delete the app off the emulator interface after each update.
B - Select "Reset Contents and Settings" from the Emulator menu after each update.

I'm using the Ogre Xcode 4 Templates and I've been looking through the Build Phases and Build Settings in Xcode but can't seem to find any option that forces a complete re-upload of the package to the emulator each time the project is run?
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Forcing XCode to re-upload Package contents to emulator.

Post by masterfalcon »

I believe the only ways to do what you're asking are either of the options that you've already discovered.
Arkiruthis
Gremlin
Posts: 178
Joined: Fri Dec 24, 2010 7:55 pm
x 10

Re: Forcing XCode to re-upload Package contents to emulator.

Post by Arkiruthis »

Aww. :( I may just do my shader testing in another app (if there's a glsles workbench like FX Composer on Mac that does this?).

Thanks for the prompt reply though, much appreciated! :D (and as ever, thanks for your work on the mac side of things)