Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
reumerd
Posts: 119
Registered: ‎05-27-2010
My Device: 9900
My Carrier: Vodafone NL
Accepted Solution

Fixing the error - Invalid application archive - resource name is not valid(img/.DS_Store)

Mac OSX likes to create index files for you called .DS_Store even though you didn't ask for it. When trying to Build you WebWorks Project you'll get the error:

 

Invalid application archive - resource name is not valid(img/.DS_Store)

 

To fix this, open a Terminal sessions and navigate to your root directory of your WebWorks project.

 

(tip type in cd<space> in the prompt and drag the folder of your root from the finder to the Terminal prompt, this will list the full path to your root WebWorks Project and press [enter])

 

In the root use this command (type it over or copy paste from here)

 

find . -name '*.DS_Store' -type f -delete

 

and press [enter]

 

All .DS_Store files should now be removed.

 

 

@reumerd-- @BBDevGroupNL -- about me
If you like it, LIKE it ;-) ----- If it's solved, press solved ! --- If you solved it yourself, please let us know! We might have the same problem!
Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Fixing the error - Invalid application archive - resource name is not valid(img/.DS_Store)

Good tip, thanks Dennis!

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.