App is Crashing when Opening/Closing Stacks

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
physicsclassroom
Posts: 50
Joined: Sun Jun 30, 2013 1:43 am
Location: Illinois
Contact:

App is Crashing when Opening/Closing Stacks

Post by physicsclassroom » Wed Sep 26, 2018 6:58 am

I updated an app for iOS 12 using LC 9.0.1. I made very few changes to the app. It works great in the IDE. There's several stacks in the build. Whenever I open a stack on a device, the app crashes.

My code reads something like this

Code: Select all

go to card "target" of stack ("targetStack.livecode")
set the destroyStack of stack ("departingStack.livecode") to true
close  stack ("departingStack.livecode")
If I insert a "wait for 5 seconds" command between the 1st and 2nd line, the targetStack opens and displays find, then in 5 seconds the app crashes. This code existed and worked prior to updating it with LC 9.0.1.

Any ideas?

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 586
Joined: Fri Feb 06, 2015 4:03 pm

Re: App is Crashing when Opening/Closing Stacks

Post by LiveCode_Panos » Wed Sep 26, 2018 12:47 pm

Hello Tom,

This sounds like a bug. I suggest you file a bug report and attach a simple sample stack that demonstrates the problem. The team will have a look asap.

Best,
Panos
--

Post Reply

Return to “iOS Deployment”