App does not function on iPhone

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

App does not function on iPhone

Post by JCiberkiller »

Hello all,

I wanted to ask why my app functions perfectly on my mac, but when
I upload it to my iPhone, using xcode, it does not function correctly
anymore.

Thank you in advance
-JC
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: App does not function on iPhone

Post by Klaus »

Hi JC,

as I wrote in similar thread, we are working very hard on "clairevoyance", but are not there yet 8)


Best

Klaus
Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Contact:

Re: App does not function on iPhone

Post by Neurox66 »

Hi JCiberkiller,

With name like yours, you should not ask questions like that :D :D :D

Your question is very generally and without information.
Is the Apple Profile correct?
Is "Internal App ID" equal to Profile?
When start up you see the Splashscreen?
Check that the "on preOpenStack" or "on OpenStack" there are no errors.

Regards,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller »

Thank you very much for helping,

Yes everthing is correctly written but the problem is that the game function does
not work on card 2, on card 1 we only have a play button - splash screen. We have
no clue what to do about it since we have tried everything you've listed. :(

...And could you explain what "on OpenStack" is, since we only coded with "on PreOpenStack" :)

Thank you in advance
-JC
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: App does not function on iPhone

Post by Simon »

I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller »

Which point should we read???

Thank you
-JC
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: App does not function on iPhone

Post by Simon »

All of them.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller »

not enough time, needs to be done by tomorrow, Its a school project!

-JC
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: App does not function on iPhone

Post by Klaus »

Maybe you dare to show us some (parts of) your script(s)? 8)
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller »

This is a part of our Stack:

- Timer Script

on updateTimer
subtract 1 from field "timer"
if timer_var is true then
send "updateTimer" to me in 1 second
end if

if field "timer" = 0 then

put false into timer_var
answer "Game Over!"
go to card 1
end if
end updateTimer

-



- hiding image script

on MaineventLoop

local b = 5
local c = 6
local d = 10

if timer_var is true then

hide image "bild1"
send "show_image bild1 " to this cd in b sec
send "hide_image bild1" to this cd in c sec
send "show_image bild1" to this cd in d sec


add 5 to b
add 5 to c
add 5 to d
end if
end MaineventLoop

-

- Mobile script

on preOpenStack 
if the environment is "mobile" then 
set the fullscreenmode of me to "letterbox" 
set the acceleratedrendering of me to true 
end if 

end preOpenStack

-


-JC
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: App does not function on iPhone

Post by Klaus »

Hi JC,

nothing wrong with the script so far!?
And you surely have the handlers named "show_image" and "hide_image" in the script of the current card, right?


Best

Klaus
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller »

Yes of course.

Im desperate to finish this! :|

-JC
Post Reply