When compiling Smart Basic in XCODE how are image files included in the executable package. I can compile anything that does not require an external file. A good example of what to do would be with the Winter.txt sample, to load the snowflake.png and fir.png files.
When run on the iPad it works fine.
When run in the simulator, the program cannot find the files. Is there a specific folder these should go in?
On another note: Smart Basic is by far one of the best apps out there!! Your work is truly appreciated.
Adding *.PNG files to Xcode Executables
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Adding *.PNG files to Xcode Executables
Just copy your files from iPad to "Samples" folder in SDK, exactly as they are.
Consider "Samples" folder to be the root of your files on iPad.
Consider "Samples" folder to be the root of your files on iPad.
Re: Adding *.PNG files to Xcode Executables
Wow! That was quite easy. My mind kept trying to convince me that it must be more complicated than that. I'm sorry I didn't come on that one by myself. Thank you very much, it now works as expected.
Again, thank you for such a great product and support. I haven't had this much fun in years.
Again, thank you for such a great product and support. I haven't had this much fun in years.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Adding *.PNG files to Xcode Executables
Thank you for your comments!