GLBasic forum

Main forum => GLBasic - en => Topic started by: jtassinari on 2011-Dec-21

Title: OSX 10.7.2 and xCode 4.2.1
Post by: jtassinari on 2011-Dec-21
Hi there,

I have a question.
I'm at my first attempt to create an xCode application.
I downloaded the sample "iTouchMouse" from the forum, but it looks like i cannot do anything.

Is there any basic instruction i can have access to learn something about iOs development?

Thanks indeed,
cheers,

jTassinari
Title: Re: OSX 10.7.2 and xCode 4.2.1
Post by: Kitty Hello on 2011-Dec-21
You must build (Shift+F8) for iPhone.
It (currently) creates a directory $Project/distribute/iPhone/XCode.
Open the xcode-project on this directory on your Mac with XCode.
Set the target to "iPhone" if it's set to "Device Simulator".
Plug your device in.
Get all the certificates sorted (if not done yet - this is a terrible mess!!)
build for debug and run.
Title: Re: OSX 10.7.2 and xCode 4.2.1
Post by: jtassinari on 2011-Dec-22
Hi Kitty,
thanks for your fast reply =)

I did a couple of test, but a part for a missing file, it somewhere it must be ;)
I get this error from the demo file i downloaded from the site:

> Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

Could this depend from the fact that i have only the iPhone  v.5.0 simulator

I'm not sure what are the certificate you are telling about.
I haven't actually any developer account as i need to "learn to crawl before I learn to walk".
But i supposed i could do some develop test on my phone and using the xCode IDE.

Maybe I'm wrong (?).

cheers,
jTassinari
Title: Re: OSX 10.7.2 and xCode 4.2.1
Post by: Kitty Hello on 2011-Dec-22
No, Apple does not allow you to devleop on real devices w/o the dev license.
Yes, you can call them whatever you want now. Get a cheap HP/Palm or Android device to test.
Title: Re: OSX 10.7.2 and xCode 4.2.1
Post by: spacefractal on 2011-Dec-22
Its would been nice to have the possible to compile for the simulator... It's can not replace the real thing, but can been handy for some tests.

By now you require registred dev at apple for any use with glbasic, as it's don't support simulator.