[ERROR] Invalid application archive - resource name is not valid(__MACOSX/

by Developer on ‎08-02-2012 05:13 PM (3,459 Views)

If you build your BlackBerry® WebWorks™ application on Mac OS X Lion, you may receive the following error:

 

[ERROR] Invalid application archive - resource name is not valid(__MACOSX/<YOUR FILE HERE>)

 

This error may occur because of a conflict with resource forks on Mac OS. When you zip the file, a hidden folder is created within the .zip file which causes the error with the BlackBerry® WebWorks™  Packager.

 

To correct this issue, use the following application:

 

http://www.macupdate.com/app/mac/25497/zipcleaner

 

Alternatively, you could open up the .zip file with another program and delete the hidden __MAXOSX file.