need help to setup sio2 sdk in xcode
5 posters
need help to setup sio2 sdk in xcode
Hello,
Looks like i must be doing something dumb, but when load the templates or tuto, xcode only give me the choice to build for OSX and not the simulator. I have Xcode 3.1.1., is this normal, should i create an iphone app then import the classes and nib and all, or am I missing something obvious in xcode? Please help me i would like to get setup with soi2. And the tuto 1 is not on the site unfortunately.
Thanks so much for your time and sorry to be so off!
Jake
Looks like i must be doing something dumb, but when load the templates or tuto, xcode only give me the choice to build for OSX and not the simulator. I have Xcode 3.1.1., is this normal, should i create an iphone app then import the classes and nib and all, or am I missing something obvious in xcode? Please help me i would like to get setup with soi2. And the tuto 1 is not on the site unfortunately.
Thanks so much for your time and sorry to be so off!
Jake
newb- Posts : 6
Join date : 2009-04-26
Re: need help to setup sio2 sdk in xcode
Yes, I can do an app for the Iphone. If i start from srcatch.
Thanks of you help,
Thanks of you help,
newb- Posts : 6
Join date : 2009-04-26
Re: need help to setup sio2 sdk in xcode
thanks for helping me!
Here what I do, I double click the file template.xcodeproj in the folder tutorial 1, and when i want to build it the only option i have is Mac osx 10.4 or Mac osx 10.5 in the drop down list (active sdk). I don't have the choice of the simulator. Maybe I didn't setup Xcode properly?
Thanks for the help, I really appreciate it.
Jake
Here what I do, I double click the file template.xcodeproj in the folder tutorial 1, and when i want to build it the only option i have is Mac osx 10.4 or Mac osx 10.5 in the drop down list (active sdk). I don't have the choice of the simulator. Maybe I didn't setup Xcode properly?
Thanks for the help, I really appreciate it.
Jake
newb- Posts : 6
Join date : 2009-04-26
Re: need help to setup sio2 sdk in xcode
Ok i'll double check. And let you know whats up.
Thanks
Thanks
newb- Posts : 6
Join date : 2009-04-26
Re: need help to setup sio2 sdk in xcode
Cuz it sounds to me that you do not have the necessary compiler options available to be able to compile for the simulator & the device...
Re: need help to setup sio2 sdk in xcode
Well, I just downloaded the last SDK xcode 3.1.2 , And it work. Thank for your help.
And thanks for creating this insane product.
And thanks for the support you give even to NewB...
Good luck!
Cheers
J
And thanks for creating this insane product.
And thanks for the support you give even to NewB...
Good luck!
Cheers
J
newb- Posts : 6
Join date : 2009-04-26
Re: need help to setup sio2 sdk in xcode
Last edited by sio2interactive on Mon Apr 27, 2009 8:47 pm; edited 1 time in total
Re: need help to setup sio2 sdk in xcode
Well, now I'll check it out more deeply and I'll probably buy it and advertise it!
Peace,
j
Peace,
j
newb- Posts : 6
Join date : 2009-04-26
Re: need help to setup sio2 sdk in xcode
Rather than make a similar newb thread, I hope you don't mind if I semi-hijack this one. I ran the Xcode project for Tutorial 2, I removed the tutorial_02 resource and added my own, but every time I "Build 'n Go", I get the colored suzzane running on the iPhone emulator instead of the contents of my resource. Is there something else I have to do to "initialize" a resource?
MukiEX- Posts : 6
Join date : 2009-02-28
Re: need help to setup sio2 sdk in xcode
Template.mm is still looking for the old .sio2 and the object Suzanne. Edit your Template.mm to include your .sio2 and the object you are trying to display. You'll find the lines below in your Template.mm located in your Other Sources folder. Replace tutorial02.sio2 with your .sio2 and Suzanne with your object's name.
sio2ResourceOpen( sio2->_SIO2resource,
"tutorial02.sio2", 1 );
// Get the object Suzanne located inside our resources.
SIO2object *_SIO2object = ( SIO2object * )sio2ResourceGet( sio2->_SIO2resource,
SIO2_OBJECT,
"object/Suzanne" );
fvg
sio2ResourceOpen( sio2->_SIO2resource,
"tutorial02.sio2", 1 );
// Get the object Suzanne located inside our resources.
SIO2object *_SIO2object = ( SIO2object * )sio2ResourceGet( sio2->_SIO2resource,
SIO2_OBJECT,
"object/Suzanne" );
fvg
fvgNYC- Posts : 1
Join date : 2009-05-01
Re: need help to setup sio2 sdk in xcode
Perfect. Thanks so much. How do you go vertical instead of horizontal, btw? Edit: Never mind, figured it out (commented out going into landscape).
Now, how do I "trace" or "debug" variables? e.g. how do I get an active shot of certain variables on-screen while it's running?
Now, how do I "trace" or "debug" variables? e.g. how do I get an active shot of certain variables on-screen while it's running?
MukiEX- Posts : 6
Join date : 2009-02-28
Re: need help to setup sio2 sdk in xcode
You need to use XCode gdb debugger - it is already integrated in XCode - just put a breakpoint in your code and it will stop to it as you're running in Debug (compile mode)...not release...MukiEX wrote:Perfect. Thanks so much. How do you go vertical instead of horizontal, btw? Edit: Never mind, figured it out (commented out going into landscape).
Now, how do I "trace" or "debug" variables? e.g. how do I get an active shot of certain variables on-screen while it's running?
Francescu- Posts : 136
Join date : 2009-03-18
Re: need help to setup sio2 sdk in xcode
I just wanna keep track of stuff like the touch pointer location and the x/y/z location of certain on-screen objects. I don't suppose this would be a good time (I'm essentially a COMPLETE noob) to ask where'd be a good spot to get beginner help on XCode's debugger? I can't seem to find anything in the right-click menu in my source for setting a breakpoint, and I can't seem to find template.mm in the debugger at all, in any of the threads.
Edit note: Okay, I got it to set a breakpoint, and I got to look at the variable at the pause. How do mess with the app a little and then re-check that variable? I tried re-running the code and pausing, but it didn't work.
Edit note 2: Okay, NVM that, I got it working (Yes, truly a noob), now my question is, can I "bookmark" a variable so that I don't have to go through the entire object tree each time?
In addition, is there any way to keep the simulator from auto-rotating to the right each time it starts up? ^_^ (I assure you, I googled all of these things before I asked)
Edit note 2: Okay, NVM that, I got it working (Yes, truly a noob), now my question is, can I "bookmark" a variable so that I don't have to go through the entire object tree each time?
In addition, is there any way to keep the simulator from auto-rotating to the right each time it starts up? ^_^ (I assure you, I googled all of these things before I asked)
MukiEX- Posts : 6
Join date : 2009-02-28
Similar topics
» Snow leopard & Xcode 3.2
» Did I miss the setup doc?
» Request: glut+SIO2 project template with SIO2 releases.
» template.xcodeproj revision*
» xCode: .. was not declared in this scope
» Did I miss the setup doc?
» Request: glut+SIO2 project template with SIO2 releases.
» template.xcodeproj revision*
» xCode: .. was not declared in this scope
Permissions in this forum:
You cannot reply to topics in this forum