OS X Sandbox breaks app

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
NerveStorm
Posts: 5
Joined: Tue Dec 03, 2013 7:39 am

OS X Sandbox breaks app

Post by NerveStorm » Tue Dec 03, 2013 7:51 am

I have a small app that on mouseup uses an open/save dialog. It allows you to select a folder with images in it and it copies the files to a new size, and writes them to the same location, leaving the original images. The app works fine on half dozen systems for testing, but as soon as I add sandboxing to the app, it hangs as soon as I open the file selection dialog. I need to prep it for the Mac App Store, and I have used both App Wrapper and RB package Maker to sign and sandbox the app. I can sign it with out issue, but as soon as I add sandboxing it fails. I am giving it read/write access to open/save dialogs. I suspect it is an Entitlement issue, but can not seem to find the right access to allow. Anyone have an idea?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X Sandbox breaks app

Post by Mark » Tue Dec 03, 2013 10:48 am

Hi,

Does it work on all version of Mac OS X except for (possibly) 10.8 and 10.9? It seems to be a LiveCode bug that needs to be fixed before you submit the app to the app store.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

NerveStorm
Posts: 5
Joined: Tue Dec 03, 2013 7:39 am

Re: OS X Sandbox breaks app

Post by NerveStorm » Tue Dec 03, 2013 7:03 pm

Yes!
Thanks for the heads up Mark. Now I have to pray for a quick bug fix :(
Being open source, do you know if there's a working list of issues being addressed. That way I can get some idea of when it might be handled?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X Sandbox breaks app

Post by Mark » Tue Dec 03, 2013 7:19 pm

Hi,

Look at the bugs. That will tell you what is currently being worked on.

If you read the bug to which I posted a link, you'll see there's a workaround.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

NerveStorm
Posts: 5
Joined: Tue Dec 03, 2013 7:39 am

Re: OS X Sandbox breaks app

Post by NerveStorm » Tue Dec 03, 2013 7:58 pm

Mark,

Thank you for your assistance, and sorry if it is obvious, but i'm new to live code. "Look at the bugs." where? in these forums? RunRev Lists? (there is someone there who has the same issue over the last few days though he is using 6.1.3 and I am using 6.5 both on OS X 10.9). Is there a bug list on GitHub? Again I apologize for my naiveté, still educating myself on the tool, and this issue is HUGE for me. So, where exactly is the bug posting with a workaround?

Todd

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X Sandbox breaks app

Post by Mark » Tue Dec 03, 2013 8:21 pm

Hi Todd,

Did you see the link I posted earlier in this thread? It leads to one bug in a very big database. If you look at all those bugs and filter them by their status, you'll be able to see what is currently going on.

http://quality.runrev.com/show_bug.cgi?id=10477

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

NerveStorm
Posts: 5
Joined: Tue Dec 03, 2013 7:39 am

Re: OS X Sandbox breaks app

Post by NerveStorm » Tue Dec 03, 2013 10:51 pm

Thank you, I did not see the link. I have since read the thread and postings by Treavor, but didn't see any comment by you, or a workaround.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X Sandbox breaks app

Post by Mark » Wed Dec 04, 2013 12:17 am

Hi,

It says you have to copy your file to another locations, e.g. temp.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

NerveStorm
Posts: 5
Joined: Tue Dec 03, 2013 7:39 am

Re: OS X Sandbox breaks app

Post by NerveStorm » Wed Dec 04, 2013 12:45 am

Mark,

Thank you for your kind assistance.

Todd

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X Sandbox breaks app

Post by Mark » Wed Dec 04, 2013 12:51 am

You're welcome, Todd.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

Re: OS X Sandbox breaks app

Post by seaniepie » Fri Jan 03, 2014 3:00 am

Hi All,

If you need to create an installer package for the Mac AppStore and need it to have Sandbox entitlements then I've created this package maker and it's free for all Commercial Livecode developers.

Links to the latest version:
http://www.pidigital.co.uk/OSXPackageMaker.zip

All the best
Sean
Pi Digital

Post Reply