I had this problem too, a code that works fine in Windows on iOS crash with the output in console:
wrt-request: fopen("", "wb") failedI follow the code and saw that while loading binary data from a file, I called a function that open another file, and then it crashes on iOS.
The code is something like:
IF OPENFILE(l_file, g_SaveDir$+"stages.sav",1)
LOCAL l_version%, l_count%
READULONG l_file, l_version
LOCAL l_stage_info AS TStageInfo
READLONG l_file, l_count
FOR i%=0 TO l_count-1
StagesInfoSetData(stages_info, l_stage_info, FALSE, FALSE, FALSE, FALSE)
And the function StagesInfoSetData(stages_info, l_stage_info, FALSE, FALSE, FALSE, FALSE) opens a file because when I set data for stages it saves another file for sending data. Now I added the last boolean that if you se it is set as FALSE, if FALSE then it doesn't save this file, because in the inital load it should not be created.
Then, I think on iOS only 1 file can be open at the same time.