sloooowww standalone building with many included files

Chris Sheffield cmsheffield at icloud.com
Thu May 22 16:01:03 EDT 2014


I know. You’d think so. But it’s not the signing of the app that takes a long time. It’s the copying of the files into the app bundle. At least, that’s the step that’s shown in the standalone builder progress dialog. The actual signing is quick.


On May 22, 2014, at 1:39 PM, Mike Kerner <MikeKerner at roadrunner.com> wrote:

> 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