New topic: App Store
<http://forums.realsoftware.com/viewtopic.php?t=47663> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message aamato Post subject: App StorePosted: Sun Apr 21, 2013 6:19 pm Joined: Tue Feb 12, 2008 6:12 pm Posts: 50 I am having problems with two apps to be approved in App Store. Problems noted by the Apple team: Quote:File Export stalls the app. No files are exported for either option. and for the other app Quote:2.3 - The user is unable to successfully export a CSV file. The problem is i cannot reproduce the error !! They told me to See Technical Q&A QA1778: How to reproduce bugs reported against Mac App Store submissions. ( https://developer.apple.com/library/mac ... index.html ) Basically it says to test the app as a Guest user. I did that, and all my apps still works as I designed. I noted the problem rises when exporting/saving a file, but thats something that works flawlessly in my computer !! I thought maybe the problem was codesigning and sandboxing. But I am using Ohanaware App Wrapper, and I choose in Sandbox Open/Save dialog Read and Write permission. I do not know what else to try. If someone has any hint it would help me a lot. _________________ Consultório Médico Cirurgião Vascular Top aamato Post subject: Re: App StorePosted: Tue Apr 23, 2013 9:03 am Joined: Tue Feb 12, 2008 6:12 pm Posts: 50 I got the following answer from Sam Rowlands from ohanaware Quote:Hi Alexandre, There are two things I can think of might cause an issue, in the Sandbox settings of App Wrapper make sure that âOpen/Save Dialogs:â are set to âRead & Writeâ. The second issue which is think is probably what you are facing as it trips a few developers up. You can ONLY save to the file which you receive from the Save dialog, you cannot change itâs name or create a temporary file in the same directory and then re-name it. Your data must be written to that file and that file only. Be warned however, that some Apple internal APIs create a temporary file and then replace the original with the temporary file. We had to appeal a rejection, because the reviewer doesnât understand enough about Appleâs OS and wouldnât listen to me when I told him that this was Appleâs doing and not mine. Thanks for supporting our software. Sam Rowlands The first suggestion I already did. But the second one is something much more advanced. I am saving the file this way: dim f as folderitem dim tos as textOutputStream f= GetSaveFolderItem("text/plain","export.xml") if f = nil then exit sub 'cancel clicked tos = TextOutputStream.Create(f) if tos = nil then 'failed? MsgBox("The file could not be created!") exit sub end if tos.WriteLine s tos.Close 'close file Any ideas ???? Thanks !! _________________ Consultório Médico Cirurgião Vascular Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
