iOS7.1

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: iOS7.1

Post by jacque » Wed Dec 17, 2014 7:59 pm

I think it is a standalone builder issue, as you mentioned in the other thread. Another user on these forums had the same problem when the printing library wasn't included in the build. Apparently there's a bug that doesn't include libraries when creating a standalone. If you are allowing the SB to search for inclusions, it may work to set the SB to manually include libraries instead.

The solution for the other user was to manually copy the missing library into the desktop standalone. But this won't work with a mobile app unless you re-sign the app after altering it. That isn't too hard to do but it is an extra step and you'll need to use Terminal or download a third-party re-signing app.

I couldn't find a bug report on the issue, so it would be good if someone submitted one.

EDIT: In the other thread, I was reminded that libURL isn't supported on mobile. There are built-in commands for downloading but a missing library isn't the problem in this case. So something else is keeping the file from downloading. If you post the relevant part of the script we may be able to spot something.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: iOS7.1

Post by FireWorx » Thu Jan 01, 2015 6:49 am

Thanks Jaq,
Actually libURLDownloadToFile is supported by mobile. In the dictionary it says Platforms: Desktop, Server, Web and Mobile.
It has worked for me very well for a couple years now on mobile. Just quit recently. Thanks for your other suggestions though!
Dave

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: iOS7.1

Post by jacque » Thu Jan 01, 2015 8:27 pm

Actually libURLDownloadToFile is supported by mobile.
Sorry, I wasn't clear. The standard libURL library isn't part of a mobile build. A few commands were specially rewritten to support mobile, including libURLDownloadToFile, but I've always thought those were part of the mobile standalone engine. If they are in their own separate library instead then the problem where the library doesn't load may still be happening. If they're implemented inside the standalone engine then it sounds like a bug to me.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply