Page 1 of 1
Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Mon Feb 18, 2013 5:50 am
by Jamesplank
I've upgrade to 6.1 and Xcode 4.6 and 5.5.4 plays nicely which is great, but...
Only in the simulator?
The problem is with the ios native browser. My app worked in 5.5.3
But is Broken in the newest release.
I don't know if its a bug. But no matter what I load my app onto iPhone 4S, ipad mini or ipad 3
It crashes after the card is open and the browser is displayed.
I can't find any thing in the pre open card or open card or reopen stack that cause the problem
Everything works well until the end when nothing else happens.
As I said its fine in the simulator but crashes on real hardware.
Anyone else can confirm this is a problem?
Cheers James
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Mon Feb 18, 2013 5:52 am
by Jamesplank
I'll try the sample for the browser that comes with lc and post results.
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Mon Feb 18, 2013 10:17 am
by macnomad2
Thanks for the alert. My apps rely strongly on this feature. Now I am afraid of using 5.5.4 until you reassure us !
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Mon Feb 18, 2013 3:12 pm
by Randy Hengst
Just a quick thought... I've had that crash happen during development when I left the old version of the app on the iPad and let the install process replace it. So, now I manually delete a version of the app before I put the new one on the iPad.
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Mon Feb 18, 2013 10:22 pm
by Jamesplank
The plot thickens
The example mobile browser app is ok and works on ipad mini. That's the good news.
As for deleting the app completely and installing complete new version, thnk you for the heads up, but Unfortuantely it didn't work. So the bug is abit deeper.
I'll keep on digging. I have a feeling it may be based around some of the environment settings. I'll let you know if I find it.
Cheers
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Mon Feb 18, 2013 11:48 pm
by Jamesplank
I'm losing it.
Tell me the right answer here
If I'm on a card "start"
And in a button on card start i have code
=======================
Goto card "next"
Answer "does this pop up appear"
====================
Does the answer command work
I always thought it didn't because the instruction flow went to the "next" card
And continued there?
Is this what everyone expects?
Or do y ou expect the rest of the code in the button to execute as well as going to the card?
Ie the answer command to execute?
Please help
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Tue Feb 19, 2013 12:15 am
by Simon
It's what I would expect.
The on mouseUp handler should finish after the preOpenCard and openCard scripts.
Simon
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Tue Feb 19, 2013 12:26 am
by Jamesplank
Ok it's a bug in my code
I use a generic touchend command to make a generic menu respond pretty
Problem is when the command in the menu takes me to a different card
The touchend on the first card still fires but refers to
An environment that has now changed.
The browser is all good.
I'm the one thats broken
Thanks all for your help
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Posted: Tue Feb 19, 2013 12:47 am
by Simon
Try adding a location to your touchEnd like:
on touchEnd
set the loc of grp "menu" of this cd to 0,0,0,0
That "of this cd" will prevent an error when you move to the "next" cd
Simon