Cant load certain assets of Mac version

I’ve been running into this issue on several projects and couldn’t find any logic behind it.

I’ve been working on an application on the windows version (XP SP3) and everything works fine. When I open the same app in the mac version to compile, the corona simulator has problems loading several assets and reports that they could not be found -

"ERROR: The resource file (doda1.png) could not be found at the case sensitive path (/app/doda1.png).
WARNING: Failed to find image(doda1.png)
Runtime error … "

The file is present at the directory (which is all lowercase and no spaces) and can be previewed and opened at other applications without any issues.

I’ve also tried to re-export it using Multirezzer and it didn’t help.

I’ve read several other people encountering this issue with no obvious solution other than using a file that works as a basis and re-saving all the assets (which seems very problematic and not efficient).

Please advise,
Shahar Zrihen [import]uid: 13553 topic_id: 13759 reply_id: 313759[/import]

display.loadImage (“Foo.png”) and the file name is “foo.png” will not load.

devices are case sensitive.

local path = system.pathForFile( “app/data.txt”, system.DocumentsDirectory )

not

local path = system.pathForFile( “/app/data.txt”, system.DocumentsDirectory ) << mac issue
.c
[import]uid: 24 topic_id: 13759 reply_id: 50518[/import]

Hey Carlos.
Thanks for the quick reply!

I’m using only lowercase letters and no spaces in both the directory name and the file names but it doesn’t make any difference.

I encounter these issues when using display.newImageRect or creating buttons with the ui library.
It also happens with provided samples such as the jungleScene sample app in sdk 601.

Steps to recreate - load jungle scene sample app in Mac mini wish SL (happened with leopard as well)

Any other ideas of what could it be?

Shahar Zrihen [import]uid: 13553 topic_id: 13759 reply_id: 50548[/import]