iOS Simulator gotcha

Graham Samuel livfoss at mac.com
Fri Apr 13 08:59:31 EDT 2012


The app I'm developing suddenly stopped working in the Simulator - previously it was starting up with no problems, and I was debugging various data entry handlers quite far into the code - I have not changed the setup code for a long time. 

I got an error code (255) from the Simulator but couldn't find any reference to it in the XCode/Simulator docs so I was despairing, particularly since for some time I had been debugging a behavior that is not invoked in the app's startup sequence. This code doubtless contains errors, but not ones detected by the LC compiler.

I then had the rather illogical idea of commenting out the button (behavior) script and trying again, and Bingo! the simulation was working again. I then, even more illogically, restored the script of the button and the simulator went on working.

I think at this point Americans say "go figure", don't they?

Graham




More information about the use-livecode mailing list