Skip to main content
Participant
Nov 3, 2015 3:01 PM UTC
Question

Problem with including worker swf file into ipa file

Hello people!

I'm working on Adobe AIR app for iOS and recently was exploring workers and run into a major problem I have no idea how to solve and I hope you can help me!

So, what I'm doing is:

1) Generate worker swf file let's name it worker.swf and put it into bin/workers/worker.swf

2) Create a descriptor file for a workers which currently contains only a single entry of "workers/worker.swf" name it workers.txt and put it into bin/workers/workers.txt

3) Add an entry within iPhone tag of applicaton.xml in a way <externalSwfs>workers/workers.txt</externalSwfs>

4) Add those files to file properties of ADT -package files info configuration in a way <arg line="-C bin" /> <arg line="workers" />

After this I expect that folder "workers" will be located within ipa file and would contain both files mentioned above, but that is not what is happening. All I have in that folder is txt descriptor file and no worker swf. And I've already tried everything I could think of.

Best I could do was to include those files in a way

<arg line="-C bin/workers" />

<arg line="workers.txt" />

<arg line="worker.swf" />

and that works in a way, but both files are stored within root folder of application content and not within folder "workers" which this layout contains only a descriptor txt file.

Any ideas what am I doing wrong?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

janis_rAuthor
Participant
Nov 4, 2015 10:54 AM UTC

Oh and by the way - I decided to get rid of workers sub folder for output, as I'was able to include worker files into root of application, which seemed  a better way than having two separate locations for a same file - one working and one failing.

And congratulations Adobe you've failed even more than I would expect - workers output folder, which ever is specified, is stripped of worker file even if that is a root of application, and that lame concept wouldn't work either.

Bravo!

Translate