iOS Error
Posted: Tue Mar 13, 2018 8:37 pm
I am working on an iOS app update and suddenly started having problems. It started after adding this to the stack script to stop text to speech once a use has tapped/clicked on a button. stopGenieSpeech has been added to all buttons.
command stopGenieSpeech
if isMobile() then sunnYspeechStop "Now"
end stopGenieSpeech
So, I added this to the stack script: answer "There was an error" && pError. In the simulator, this is coming back...a lot "There was an error 2,0,0". These are my questions:
I know that 2 indicates recursion error. What is the 0,0?
Is recursion in LiveCode due to functions or an out of control loop?
Any suggestions?
I am also logging errors to the console, but what I am able to find is inconsistent and to be frank above my pay grade.
This is the set-up:
Mac OS 10.12.6
LiveCode Business 8.1.6
Xcode 8
Xcode 8.3.3
I have a custom font (Blogger Sans-Bold.ttf) in the Add Files pane in addition to the external sunnytext2speech.lcext 2.1.
command stopGenieSpeech
if isMobile() then sunnYspeechStop "Now"
end stopGenieSpeech
So, I added this to the stack script: answer "There was an error" && pError. In the simulator, this is coming back...a lot "There was an error 2,0,0". These are my questions:
I know that 2 indicates recursion error. What is the 0,0?
Is recursion in LiveCode due to functions or an out of control loop?
Any suggestions?
I am also logging errors to the console, but what I am able to find is inconsistent and to be frank above my pay grade.
This is the set-up:
Mac OS 10.12.6
LiveCode Business 8.1.6
Xcode 8
Xcode 8.3.3
I have a custom font (Blogger Sans-Bold.ttf) in the Add Files pane in addition to the external sunnytext2speech.lcext 2.1.