Game Development Community

Where is the iPhone Simulator? (Noob question...)

by Zilla · in iTorque 2D · 06/13/2009 (11:21 am) · 11 replies

I am completely new to iTGB and wanted to try the first tutorial.
But I cannot find the simulator...

The tutorial says that Xcode should look like this:

www.gymprojects.ch/zilla/images/15_ActiveSDK.jpg

But my screen looks like this:

www.gymprojects.ch/zilla/images/Bild%201.png

www.gymprojects.ch/zilla/images/Bild%204.png

What is missing?

#1
06/13/2009 (11:23 am)
You're clicking on the Active Target. You need to click on the Active SDK.
#2
06/13/2009 (12:05 pm)
Yes, you are correct, but also clicking on Active SDK just gives me the two options Mac OS X 10.5 and Mac OS X 10.4...
#3
06/13/2009 (2:10 pm)
It looks like you are opening the OSX project versus the iPhone project. Open the iPhone project (located at engine/compilers/Xcode_iPhone/Torque2D.xcodeproj) and you should have the option to run against the simulator or device.
#4
06/13/2009 (3:09 pm)
@Justin
Thank you for your advice, but I am exactly doing this...
What could be wrong?
#5
06/13/2009 (3:36 pm)
Have you downloaded and installed the iPhone SDK from Apple?
#6
06/14/2009 (1:12 am)
@Tom
Yes, I did (iphone_sdk_for_iphone_os_2.2.1__9m2621a__final)

But I think that I found my problem...

"iPhone SDK requires an Intel-based Mac running Mac OS X Leopard version 10.5.4 or
later. Xcode 3.1.2 is also available separately for Mac-only development and is
compatible with Intel and PowerPC Macs running Mac OS X Leopard 10.5 and later."


I installed the iPhone SDK on a G4 Power PC with OS X 10.5.7 and therefore I think that I won't be able to develop iPhone apps on this machine...

Thank you all for your help!
#7
06/14/2009 (5:18 am)
Yes, you are right, you won't be able to develop iphone apps on this machine.
#8
06/14/2009 (6:40 am)
But can I create my games in iTGB on a windows pc or a non-intel mac and test them on these machines in the iTGB editor and then take the files to a intel mac where I can deploy them on the simulator and the iPhone?
#9
06/14/2009 (7:28 am)
Not realistically:

1. The performance is 30 - 100 times higher
2. The gpu of the iphone works significantly different than a desktop gpu
3. you don't have the memory constraints
4. a pc is significantly faster at loading as well
#10
06/14/2009 (7:36 am)
@Zilla,

That's what I do. I like Visual Studio a lot better than xCode so I develop on my Windows computer and then play the game on the same pc. But like Marc said, you can't do this when you want to develop/test the performance aspect of the game. Also you have to use the simulator/device if you want to do anything that deals with multi-touch. But it is possible to do when implementing other parts of the game.
#11
06/14/2009 (7:53 am)
Thank you very much for all your insight views :)