GLBasic forum

Main forum => GLBasic - en => Topic started by: gregbug on 2010-Jan-11

Title: black screen on iphone... ???
Post by: gregbug on 2010-Jan-11
sorry for my continuous questions ....  ;/

I have the main development computer  where everything works perfectly ... virtual machine in Parallels ... compile ... go on osx Xcode compile for iphone and everything is running smoothly ...  (osx 10.6.2)  =D

Yesterday I set up my MacBook (osx 10.6.2) with the same configuration of main computer ... everything seems to work fine ... compile in glbasic (under parallels)... compile in Xcode my game (which works perfectly when compiled by the main computer) Xcode install the game on iphone with no errors.... but the game when start on iphone displays only a black screen!!  :rant:

why?? HELP ME!
I have no idea what could have happened!
Some advice? Thanks to all!
Title: Re: black screen on iphone... ???
Post by: MrTAToad on 2010-Jan-11
Copied your media into the correct location ?
Title: Re: black screen on iphone... ???
Post by: gregbug on 2010-Jan-11
Quote from: MrTAToad on 2010-Jan-11
Copied your media into the correct location ?

yes...


i also tried a test program (like printing some text on the screen) but always black screen!... (the same folders copied in my main dev-mac and recompiled just work fine!)  :o

i don't know....  investigating now...
Title: Re: black screen on iphone... ???
Post by: MrTAToad on 2010-Jan-11
Are you using SHOWSCREEN ?
Title: Re: black screen on iphone... ???
Post by: Ian Price on 2010-Jan-11
QuoteI have the main development computer  where everything works perfectly ... virtual machine in Parallels ... compile ... go on osx Xcode compile for iphone and everything is running smoothly ...  (osx 10.6.2)  =D

Yesterday I set up my MacBook (osx 10.6.2) with the same configuration of main computer ... everything seems to work fine ... compile in glbasic (under parallels)... compile in Xcode my game (which works perfectly when compiled by the main computer)

QuoteAre you using SHOWSCREEN ?

If it works well on all the other platforms, I'm presuming that he is indeed using SHOWSCREEN. The iPhone, might not be turned on, but he is using SHOWSCREEN :P
Title: Re: black screen on iphone... ???
Post by: trucidare on 2010-Jan-11
Works fine for all other iPhone developer. So you have a mistake in your configuration.
Title: Re: black screen on iphone... ???
Post by: gregbug on 2010-Jan-11
yes... yes... i'm using showscreen... ... and yes my iPhone is turned on and connected  :P (my next game is almost done...) and work perfect if compiled from my main dev-mac.

the problem is when i try to dev on my macbook (just reinstalled osx sl 10.6.2) transferred the apples certificates...
but not work... the games start on iphone (no error on provisioning certificates) but show only a black screen...

I am not saying that it is a Glbasic problem...  i think that it's a configuration problem on my macbook...
... mah! ...

I was hoping that it was already happened to someone else and then have a quick solution ...
... However I will try more testing ... I will keep you informed ... If you are interested ..  :P


OK. SOLVED.
small update ...

I do not know why, but I reinstalled the system, paralles, certificates and now everything works perfectly on the MacBook!

mah ... I did not understand well ... but now, at last, everything worked perfectly on the MacBook ... better that way ...

thank you all anyway for trying to help me!