FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

need help to setup sio2 sdk in xcode

5 posters

Go down

need help to setup sio2 sdk in xcode Empty need help to setup sio2 sdk in xcode

Post  newb Sun Apr 26, 2009 7:10 pm

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

newb

Posts : 6
Join date : 2009-04-26

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  sio2interactive Sun Apr 26, 2009 7:17 pm

heuuuuuu have you downloaded the iPhone SDK???
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  newb Sun Apr 26, 2009 8:02 pm

Yes, I can do an app for the Iphone. If i start from srcatch.

Thanks of you help,

newb

Posts : 6
Join date : 2009-04-26

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  newb Sun Apr 26, 2009 8:12 pm

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

newb

Posts : 6
Join date : 2009-04-26

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  sio2interactive Sun Apr 26, 2009 8:31 pm

Maybe you download the MacOS SDK and not the iPhone SDK???
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  newb Sun Apr 26, 2009 8:36 pm

Ok i'll double check. And let you know whats up.

Thanks

newb

Posts : 6
Join date : 2009-04-26

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  sio2interactive Sun Apr 26, 2009 8:40 pm

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...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  newb Mon Apr 27, 2009 10:01 am

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

newb

Posts : 6
Join date : 2009-04-26

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  sio2interactive Mon Apr 27, 2009 4:31 pm

Well donations by purchasing a certificate are welcome Wink

http://sio2interactive.com/DOWNLOAD.html


Last edited by sio2interactive on Mon Apr 27, 2009 8:47 pm; edited 1 time in total
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  newb Mon Apr 27, 2009 8:40 pm

Well, now I'll check it out more deeply and I'll probably buy it and advertise it!

Peace,
j

newb

Posts : 6
Join date : 2009-04-26

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  MukiEX Thu Apr 30, 2009 11:58 pm

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

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  fvgNYC Fri May 01, 2009 6:58 am

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

fvgNYC

Posts : 1
Join date : 2009-05-01

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  MukiEX Fri May 01, 2009 4:21 pm

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?

MukiEX

Posts : 6
Join date : 2009-02-28

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  Francescu Fri May 01, 2009 5:34 pm

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?
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...

Francescu

Posts : 136
Join date : 2009-03-18

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  MukiEX Fri May 01, 2009 6:45 pm

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)

MukiEX

Posts : 6
Join date : 2009-02-28

Back to top Go down

need help to setup sio2 sdk in xcode Empty Re: need help to setup sio2 sdk in xcode

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum