What are the current LiveCode issues with the Mac App Store?

Andrew Henshaw henshaw at me.com
Sun Jan 8 12:27:22 EST 2012


Unfortunately the file dialogue just doesn't work after you sandbox an Mac app.  

If you monitor the console an error is flagged as the file manager is denied access to the system and when the user then selects anything in the dialogue the returned variable / path is empty.

Apart from that,  everything else seems fine or can be worked around by adding an exception rule to the entitlements file so its not a blocker, but the file dialogue is a bit of a dead end at the moment.

The only other real issue is all your files get stored in the sandbox (of course).  You can tell the system to put them in documents,  and it just puts them in a documents folder,  in the sandbox.  For existing upgrades you can add a migration file to the package so the first time it runs it moves any files you select from documents etc into the sandboxed area ready for the app. 

Its quite easy to actually try the sandboxing and then run your app.  Watch the errors in the console to see what you need to add an exception for.  If you already build for the Mac App Store its simply a case of adding the appname.entitlements file and running a slight modified codesigning command.

Andy



On 8 Jan 2012, at 04:13, Marty Knapp wrote:

> Hey Andrew,
> Out of curiosity, what's the issue with the file dialogue? Are there other sandbox issues that you know of?
> 
> Thanks,
> Marty
>> The only issue Im aware of is the current livecode file dialogue will not work with sandboxed apps,  this is required by the store after 1st March.
>> 
>> As long as your app doesnt use the file dialogue it should be easy enough to port.
>> 
>> There is nothing very obscure,  you just have to make sure there are no trial screens etc,  and no links to buy pages on your website,  basically you need to give them a fully functional app and you can use their authentication systems to make sure the app has been purchased on that mac.  Ive found
>>  the guys at Apple are very helpful,  they have called me when there was a problem to try to work it out.
>> 
>> Unfortunately I need the file dialogue,  so it looks like Ill be leaving the store in a couple of months.
>> 
>> Andy
>> 
>> 
>> 
>> On 7 Jan 2012, at 17:43, Bill Vlahos wrote:
>> 
>>> I'm thinking of publishing InfoWallet in the Mac App Store. There is some re-architecting of the app that I know about and those are easily done but I'm wondering what the more obscure areas that might trip me up.
>>> 
>>> How are people working with the Apple requirements of the App Store?
>>> 
>>> What has been your experiences with the whole process?
>>> 
>>> Thanks,
>>> Bill Vlahos
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list