Game Development Community

xcode build/upload the current project but launch a different one on device. why?

by Eyal Erez · in iTorque 2D · 10/01/2009 (12:56 pm) · 2 replies

So I have two separate projects. AstroBugz and AstroBugzLite sharing the same ad-hoc provision file and same appId with a trailing Astrix bla.bla.*
My bundle identifier is different for each project bla.bla.astrobugz and bla.bla.astrobugzlite
When I'm in astrobugz clicking "build and Go" xcode copies the correct package to my iPhone , but launches the lite version instead which coincidently driving me nutz.
The only thing I've changed since yesterday (which worked fine) is a new provision profile that is basically the same , but with added devices for the ad-hoc.
Any ideas why it's doing it? I would hate to start using a separate ad-hoc profile for each game.

#1
10/01/2009 (1:01 pm)
I think you need to delete the .app file before you switch targets because they build in the same directory.
#2
10/01/2009 (1:14 pm)
ah . oldest MS trick in the book. Restart!
Following by complete delete and rebuild of both projects.
it works again. thanks.