This may not be an iOS issue but that is the type of app I am doing. At app.Open have this code
[code]try
f=Xojo.IO.SpecialFolder.Documents.Child(app.kAppSupportFldrName)
if f<>nil then
if f.Exists then
if NOT f.IsFolder then
//this should not happen but have to delete and create a folder
f.Delete
f.CreateAsFolder
end if
else
f.CreateAsFolder
end if
if f.IsFolder then
pPMPracticeFolder=f
end if
end if
catch[/code]
Stopped working as the app is almost complete. Debug halts at “if f.Exists then” with Xojo.IO.IOException. Details of exception are Reason=“The file ca.GoldCreekLtd.PMPracticePad couldnt be opened” AND Underlying Error = “The operation couldnt be completed. Not a directory.”
Ported this exact same code into a new project and it runs fine.
Anyone seen this type of thing? The only thing I have come up with is the project file is corrupted and I will have to start a new project and transplant everything to it.