Author Topic: iPhone programming  (Read 4378 times)

Offline Neurox

  • Mr. Polyvector
  • ***
  • Posts: 184
    • View Profile
    • http://www.borzini.it
iPhone programming
« on: 2010-Nov-06 »
I know that much has been written on this subject, but not too exhaustive...
I'm crazy out with iPhone developing with GLBasic.

I state that I've:
iMac with 4Gbyte of RAM, Snow Leopard
XCode 3.2.4 with iOS 4.1 SDK
I've all two Developer certificate required.
I've compiled the HelloWord written in C under XCode and no made problem.
It's running well under  my iPod...
But if I go to compiling  a GLBasic program, XCode made a few errors and alert!
Are possible have a guide step by step to configure and compiling under XCode of GLBasic programs?

Neurox/Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

MrTAToad

  • Guest
Re: iPhone programming
« Reply #1 on: 2010-Nov-06 »
What are the errors ?

Offline Neurox

  • Mr. Polyvector
  • ***
  • Posts: 184
    • View Profile
    • http://www.borzini.it
Re: iPhone programming
« Reply #2 on: 2010-Nov-06 »
What are the errors ?

these errors:


Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

MrTAToad

  • Guest
Re: iPhone programming
« Reply #3 on: 2010-Nov-06 »
Unfortunately no pictures are being displayed.

Offline Sokurah

  • Mr. Polyvector
  • ***
  • Posts: 177
    • View Profile
Re: iPhone programming
« Reply #4 on: 2010-Nov-06 »
Unfortunately no pictures are being displayed.

Yeah, not the best job of attaching pictures...but they are there...the browser just can't show them.

Just copy the address of the picture and download the pictures.

...oh hell, I've done it for you...and converted them to PNG format (really?...who the hell uses TIFF format?  :S )



[attachment deleted by admin]
Website: Tardis remakes / Mostly remakes of Arcade and ZX Spectrum games. All freeware. :-)
Twitter: Sokurah

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: iPhone programming
« Reply #5 on: 2010-Nov-06 »
I think that i know what is the problem... You can't build to simulator you must build to device... and if I'm not wrong you are building for mac instead iPhone
Hope that helps...
Bye!!

MrTAToad

  • Guest
Re: iPhone programming
« Reply #6 on: 2010-Nov-06 »
Yes - unfortunately GLBasic cant build for the simulator.  Gernot did state the reason for it, but I've forgotten what it was...


Offline Neurox

  • Mr. Polyvector
  • ***
  • Posts: 184
    • View Profile
    • http://www.borzini.it
Re: iPhone programming
« Reply #7 on: 2010-Nov-06 »
Thanks and sorry for the tiff images  :(

You can't build to simulator you must build to device... and if I'm not wrong you are building for mac instead iPhone

OK I understand and now I compiled for  : Device- Release-iPhone- iPhone/iPod - Arm 6
but there are other errors (now png  =D ) :


Paolo/Neurox
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

MrTAToad

  • Guest
Re: iPhone programming
« Reply #8 on: 2010-Nov-06 »
With that one you need to add a package (which obviously hasn't been added into the GLBasic system yet) - I'll see if I can find which one.

Cant find it - but it should be something along the lines of MoviePlayer.bundle
« Last Edit: 2010-Nov-06 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10715
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPhone programming
« Reply #9 on: 2010-Nov-08 »
yes. Add the mediaplayer framework to the source.

Offline Neurox

  • Mr. Polyvector
  • ***
  • Posts: 184
    • View Profile
    • http://www.borzini.it
Re: iPhone programming
« Reply #10 on: 2010-Nov-09 »
Quote
yes. Add the mediaplayer framework to the source.
Perfect  :nw:
Thanks for the suggestion.
Now it works  =D

Paolo/Neurox
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it