Re: SDL2 template for Xcode 3.2

"rtrussell" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Kai Sterker wrote:
> Not sure if you solved your problem yet

Yes, I think I've got it sorted.  Firstly I made an app bundle manually by creating the appropriate directory structure (MyApp.app/Contents/MacOS/executable); that runs my program OK but only on the development machine because it is expecting to find SDL2.framework in /Library/Frameworks/.  Next I copied the SDL frameworks into MyApp.app/Contents/Frameworks/ and added the search path @loader_path/../Frameworks to the xcode build configuration; now the app runs even without the frameworks being in /Library/Frameworks/.  Finally I signed the app using codesign.

I've not yet tried to distribute the app as a .dmg, but I'm hopeful that the above steps have resulted in a valid self-contained bundle.  Can you see anything that I've missed?

Richard.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.