sloooowww standalone building with many included files
Ralph DiMola
rdimola at evergreeninfo.net
Thu May 22 21:53:04 EDT 2014
Mike,
I found that zipping them up and doing an unzip on first launch was the best compromise. I have an unzip function that will replicate a directory tree if you're interested. It works for Android and iOS.
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner
Sent: Thursday, May 22, 2014 3:39 PM
To: How to use LiveCode
Subject: Re: sloooowww standalone building with many included files
You don't think it would have anything to do with signing an app that has
8500 files in it, do you? I would bet that THAT would take forEVER
On Thu, May 22, 2014 at 2:29 PM, Chris Sheffield <cmsheffield at icloud.com>wrote:
> So I have an app. An iOS app. This app includes lots and lots of small
> audio files (nearly 8500). All those files are in a folder, which is
> included in the Copy Files pane of the standalone build settings.
> Creating the build works just fine, but it takes a very long time. I
> haven’t kept track exactly, but probably close to 10 minutes. Maybe not quite.
>
> Anyway, can anyone think of a way to speed this up? I tried creating
> my own routine to copy that folder into the app bundle in a
> savingMobileStandalone handler. This worked very well as far as the
> copying goes. I used revCopyFolder and it worked great and was very
> quick. It probably only took about 20 seconds to create the build, if that.
> Unfortunately, it appears that the signing of the app takes place
> *before* what happens in the savingMobileStandalone handler, which
> seems to be invalidating the signature, as the app bundle is being
> modified after the signing. I was able to manually install the app on
> my device and run it just fine, but once I uploaded the build to
> Testflight for testing purposes, no one was able to download and
> install it successfully from there.
>
> So any thoughts? Or should I create an enhancement request to see if
> the build process can be sped up a bit. Not sure why it takes so long,
> when revCopyFolder is quite fast.
>
> Thanks,
> Chris
>
>
>
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
>
> _______________________________________________
> 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
>
--
On the first day, God created the heavens and the Earth On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
_______________________________________________
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