Error with build running on iPad: FileStream::_write: the stream isn't open
by Joao Brandao · in iTorque 2D · 12/14/2013 (3:39 am) · 1 replies
Hi,
I've been working for 2 years on my project, and now it's finally done (or so I thought).
Now, when I build the project on Xcode to run on my iPad, it starts fine.
After a minute or two of play, I get the following error on Xcode:
Fatal: (/Applications/iTorque2D_1_5/engine/source/core/fileStream.cc @ 297) FileStream::_write: the stream isn't open
Then, some of the sound stops working (but not all), and it starts producing this error:
iTorque2DGame[9079:60b] Critical failure: the LastResort font is unavailable.
And it produces several dozens of these errors until finally the game crashes, and a ios system window pops up, with no text on it, just a cancel button. and if I touch the cancel button, the window goes away and another one just like it appears, and so on.
Can anyone help me figure out what the heck is going on this time?
I've been working for 2 years on my project, and now it's finally done (or so I thought).
Now, when I build the project on Xcode to run on my iPad, it starts fine.
After a minute or two of play, I get the following error on Xcode:
Fatal: (/Applications/iTorque2D_1_5/engine/source/core/fileStream.cc @ 297) FileStream::_write: the stream isn't open
Then, some of the sound stops working (but not all), and it starts producing this error:
iTorque2DGame[9079:60b] Critical failure: the LastResort font is unavailable.
And it produces several dozens of these errors until finally the game crashes, and a ios system window pops up, with no text on it, just a cancel button. and if I touch the cancel button, the window goes away and another one just like it appears, and so on.
Can anyone help me figure out what the heck is going on this time?
About the author
I'm a little old to start programming, as I'm 32, but being unemployed pushed me into learning new skills and go back to the area I graduated in (New Technologies). I am my own worst enemy, as I procrastinate a lot, and I'm very lazy. Also, I love games.
Joao Brandao
Tricephalus
If I mute the game sounds (in-game, not using the ipad mute button) it runs fine and doesn't crash.
I've had to use the AVFoundation workaround to get the sound working on iOS7.