Page 1 of 1

Standalone Options Grayed Out

Posted: Fri May 20, 2011 6:19 am
by mackus
Trying to build a standalone app for iOS. Application is/will be using several included txt files that I am selecting on the 'Copy File' tab in the standalone application tool. Noticed that the 'Copy Referenced Files' nor the 'Destination Folder' edit boxes, on the tab, were selectable. They are grayed out. Changed to the 'General' tab and noticed that the only option I can use is (1) to give the program a name (2) select the build folder and (3) check to have built always. No other options or select box are selectable. Same on the 'Stacks' tab. Everything is grayed out and not editable or selectable. Do i have something turned off or some preference not selected or are none of these features usable yet?

Reason I started to wonder is that the txt files that I am including in the Copy File section, dont seem to be following or the bundle is unloading them someplace that the app cant get to, so that when the app runs and looks for these files, the data that i pre-store in the file is not present. I have 'set the defaultFolder to specialFolderPath("Documents")' within the app and assume that the bundle will dump these included txt files in that location so the app can read info it needs and write info it wants saved. I'm sure it is something daft that i am doing or forgetting.

thanks in advance

Re: Standalone Options Grayed Out

Posted: Fri May 20, 2011 12:05 pm
by Klaus
Hi mackus,
mackus wrote:Trying to build a standalone app for iOS. Application is/will be using several included txt files that I am selecting on the 'Copy File' tab in the standalone application tool. Noticed that the 'Copy Referenced Files' nor the 'Destination Folder' edit boxes, on the tab, were selectable. They are grayed out. Changed to the 'General' tab and noticed that the only option I can use is (1) to give the program a name (2) select the build folder and (3) check to have built always. No other options or select box are selectable. Same on the 'Stacks' tab. Everything is grayed out and not editable or selectable. Do i have something turned off or some preference not selected or are none of these features usable yet?
Sorry, no idea without looking at the stack...
mackus wrote:Reason I started to wonder is that the txt files that I am including in the Copy File section, dont seem to be following or the bundle is unloading them someplace that the app cant get to, so that when the app runs and looks for these files, the data that i pre-store in the file is not present. I have 'set the defaultFolder to specialFolderPath("Documents")' within the app and assume that the bundle will dump these included txt files in that location so the app can read info it needs and write info it wants saved. I'm sure it is something daft that i am doing or forgetting.
Everything that gets copied with the standalone builder can be found here on iOS:
-> specialfolderpath("engine")

Please read the "iOS Release Notes" -> Menu: Help
That is the only documantation for iOS.

Hint!
You are NOT allowed to write in this folder: specialfolderpath("engine")!

When the app starts you should copy these text files to:
specialfolderpath("documents")
where you do have write permisson!

Of course you should check if these files have been copied before to avoid overwriting! 8)


Best

Klaus

Re: Standalone Options Grayed Out

Posted: Fri May 20, 2011 12:33 pm
by mackus
Thanks Klaus. First the storage information is helpful. I will revise code to move these files after startup. Second, I assume, by your response, that the options that I mentioned that are grayed out on my Standalone Application Build interface should not be so, I will continue to assess why they are. Perhaps the Build interface is so brilliant that it only enables the options that my application is requesting. :?

thanks