If you add a folder within the navigator view and then directly copy your source files in via Finder, the application won't create the appropriate resource/resolution folder structure and SpriteBuilder will crash in various places.
to reproduce
Create a new project
Add a new folder in the file view(call it sprites)
Right click the new folder and open in finder
Add source files here
Convert your new folder to a smart sprite sheet
hit publish
result
The application crashes inside Tupac.mm as it cannot create a CGBitmapContext from null source files.
expected
The application is aware of the situation inside the sbpack directory, and it isn't possible to put it into a state that crashes everything. Either the integrity of the package is maintained or an appropriate folder structure is generated when the sprites are first added to the project.
If you add a folder within the navigator view and then directly copy your source files in via Finder, the application won't create the appropriate resource/resolution folder structure and SpriteBuilder will crash in various places.
to reproduce
result
The application crashes inside
Tupac.mm
as it cannot create a CGBitmapContext from null source files.expected
The application is aware of the situation inside the sbpack directory, and it isn't possible to put it into a state that crashes everything. Either the integrity of the package is maintained or an appropriate folder structure is generated when the sprites are first added to the project.