The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Mac File Location
Mr.Yellow


Joined: 15 Jul 2015
Posts: 1
I am writing a small game for school and it is more or less done. Now i tired to port it to Mac and it works in xCode. But when i try to run it as a product it is not a .app file( it's a command line tool i think, i don't know how to change that) and it does not find any of my files (maps, pictures) no matter where i place them. They were found in xCode but not in the product directory. Does anyone have an idea how to fix this? Google won't tell me a solution.

Best Wishes,
YellowTech.
Christian Knudsen


Joined: 14 Nov 2009
Posts: 37
You need to manually make a bundle (or get some tool to make it) and then place your resources inside the bundle. Inspect some existing bundles on your computer to learn more or read about them here: https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html