Search found 107 matches
- Sat Sep 02, 2017 8:32 pm
- Forum: Mac OS
- Topic: Can't copy data files into sandboxed app's container
- Replies: 9
- Views: 7006
Re: Can't copy data files into sandboxed app's container
I've heard of problems with revCopyFile, too. I notice my sandboxed standalone takes longer to open than the un-sandboxed standalone. There's a note in the LiveCode documentation about revCopyFile not being available when the app first launches. Maybe revCopyFile isn't yet available when it's called...
- Sat Sep 02, 2017 6:31 pm
- Forum: Mac OS
- Topic: Can't copy data files into sandboxed app's container
- Replies: 9
- Views: 7006
Re: Can't copy data files into sandboxed app's container
Thanks, Tom, but I don't see how that would help because I'd still be copying or in this case saving stacks to the same location. Seems like I'd run into the same problem.
- Thu Aug 31, 2017 11:02 pm
- Forum: Mac OS
- Topic: Can't copy data files into sandboxed app's container
- Replies: 9
- Views: 7006
Can't copy data files into sandboxed app's container
I have an app called Classroom Quizshow. I have three data files (Settings Saver.rev, Questions.rev, and Teams.rev) inside a folder called "CQdata" within my standalone app's package. In my openCard handler, I copy them from my app's package to the appropriate location inside the user's Library. The...
- Mon Oct 17, 2016 12:46 am
- Forum: Mac OS
- Topic: Restated: Mac Sandbox Container Folder Creation Problem
- Replies: 7
- Views: 6768
Re: Restated: Mac Sandbox Container Folder Creation Problem
I'm making some progress. It turns out the special file path I need is specialFolderPath("support"). By debugging with some 'answer' lines, I determined the following: For non-sandboxed apps (my stand-alone app as built by LiveCode), specialFolderPath("support") = ~/Library/Application Support. For ...
- Mon Sep 26, 2016 9:17 pm
- Forum: Mac OS
- Topic: Restated: Mac Sandbox Container Folder Creation Problem
- Replies: 7
- Views: 6768
Re: Restated: Mac Sandbox Container Folder Creation Problem
I'm not trying to write to the bundle. What I'm saying is I'm trying to do exactly what you describe, but it doesn't work.
...EXCEPT, I haven't heard of the special folder path you mentioned and will try it as soon as I get home. Thanks!
...EXCEPT, I haven't heard of the special folder path you mentioned and will try it as soon as I get home. Thanks!
- Sun Sep 25, 2016 5:42 pm
- Forum: Mac OS
- Topic: Restated: Mac Sandbox Container Folder Creation Problem
- Replies: 7
- Views: 6768
Restated: Mac Sandbox Container Folder Creation Problem
I'm restating this issue from my previous post because I understand the issue better now and can explain it more clearly. For an app to be sandboxed for the Mac App Store, data files need to be stored within the app's container (<bundle_id> = app's container) in the directory shown here... ~/Library...
- Sun Sep 25, 2016 4:40 pm
- Forum: Mac OS
- Topic: Mac Sandbox Container Creation Problem
- Replies: 5
- Views: 5045
Re: Mac Sandbox Container Creation Problem
I'm going to restart this issue with a new post because I understand it much better now. I can ask my question much more clearly.
- Mon Sep 12, 2016 11:58 pm
- Forum: Mac OS
- Topic: Mac Sandbox Container Creation Problem
- Replies: 5
- Views: 5045
Re: Mac Sandbox Container Creation Problem
Thank you for your help, Jacque. However, unless I am very much mistaken, you are describing the Library directory structure for a non-sandboxed Mac OS X app, while I am describing the Library directory structure for a sandboxed Mac OS X app.
Am I wrong? I could easily be because I'm no expert.
Am I wrong? I could easily be because I'm no expert.
- Sun Sep 11, 2016 5:20 pm
- Forum: Mac OS
- Topic: Mac Sandbox Container Creation Problem
- Replies: 5
- Views: 5045
Re: Mac Sandbox Container Creation Problem
More info. More clues... This problem... let me restate it here for clarity... PROBLEM: The final directory (<app_name>) in this sequence of Mac OS X Sandbox Container directories is not being created: ~/Library/Containers/<bundle_id>/Data/Library/Application Support/<app_name>/ (in my case <app_nam...
- Wed Sep 07, 2016 11:07 pm
- Forum: Mac OS
- Topic: Mac Sandbox Container Creation Problem
- Replies: 5
- Views: 5045
Mac Sandbox Container Creation Problem
My sandboxed standalone is no longer creating the final folder in this chain... ~/Library/Containers/<bundle_id>/Data/Library/Application Support/<app_name>/ (https://developer.apple.com/library/mac/documentation/Security/Conceptual/AppSandboxDesignGuide/MigratingALegacyApp/MigratingAnAppToASandbox....
- Thu Mar 31, 2016 12:15 am
- Forum: Talking LiveCode
- Topic: Mac App Store Rejection and Sandboxing Requirements
- Replies: 4
- Views: 3101
Mac App Store Rejection and Sandboxing Requirements
I've got an app in the Mac App Store, but I haven't been able to update it in almost a year. The sandboxing requirements have changed, I'm sure, and now I seem to be in violation. Specifically I stand accused of attempting to write to data files in the app package. My app does copy data files from t...
- Fri Mar 18, 2016 9:41 pm
- Forum: Talking LiveCode
- Topic: Fixed Yet? Three Questions
- Replies: 15
- Views: 8055
Re: Fixed Yet? Three Questions
Thank you for taking the time to help me, Tom, Richard, PowerDebug, and Jacqueline--also FourthWorld and Simon. Seriously, I really appreciate it.
- Thu Mar 10, 2016 1:26 am
- Forum: Talking LiveCode
- Topic: Fixed Yet? Three Questions
- Replies: 15
- Views: 8055
Re: Fixed Yet? Three Questions
I'm not a big fan of PHPBB's default settings either, nor the cumbersome means they provide to change them. Do you mind if I ask what terms you were searching for? Next time I poke around I'll see if I can lighten things up a bit with PHPBB's restrictions. One example is searching for "delete stack...
- Thu Mar 10, 2016 1:22 am
- Forum: Talking LiveCode
- Topic: Fixed Yet? Three Questions
- Replies: 15
- Views: 8055
Re: Fixed Yet? Three Questions
Must "delete stack" still be used instead of "close stack" to ensure immediate stack closure? Not if you first set the stack's destroyStack property. I don't think that's exactly true, FourthWorld. I'm pretty sure I HAVE had destroyStack set to true for all my data stacks all along, but I find "clo...
- Thu Mar 10, 2016 1:10 am
- Forum: Talking LiveCode
- Topic: Standalone data saving - best file format?
- Replies: 8
- Views: 4499
Re: Standalone data saving - best file format?
Thank you all for the kind replies. It sounds like I should stick with stacks. Quailcreek, I'm using the latest version of LC, but I started my app over 20 years ago in HyperCard and rewrote it in LC/Rev when HC went legs-up. It's a game I made for my classroom when I was a first-year 4th grade teac...