iOS Question B4i Debug mode issue with DirAssets?

kstainsb

Member
Licensed User
Longtime User
Hi,

In debug, the app crashes. I'm trying to load a bitmap "splash.png" in the assets folder. In debug mode, exception raised because file not found. The file is in the Files Manager tab, and the app works fine in release mode.

I did a check of the files in the assets folder, and only a few of the assets files appear to be there in debug mode.

I tried to clean the project. No difference. The app worked fine a few days ago, but didn't work today with v5.3. Same issue trying v5.5 beta 2.

Regards,
 

sorex

Expert
Licensed User
Longtime User
I have this with one app and it seems to be related to the amount of files.
I had 88 files which was more than double of the other projects where this never occured.

The only way to fix it was removing the app and compiling it again.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
in my case the only files that where not completely lowercase where the launch images under file\Special. (Default@2x.png to name one)

and the error never appeared till the previous version of the app.

a few B4i updates passed since I had to recompile it tho so I'm not sure since which B4i update the problem pops up (if it has something to do with it)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…