Exporting xcode project

I have built a mac application that runs as intended on my mac. Now I am trying to make a standalone version that I can run on other macs.

The application uses the SDL2 library and therefore is dependant on the library being present on the computer it's trying to run on.

My understanding is that An app bundle is OSX's method of packaging all my program's dependencies together. I have an executable file, a folder of assets(images and audio files), and the library .dylib files. I want to package all of this together into a bundle but there is very little documentation online about how I can achieve this using XCode.

(to clarify, at the moment my library files are located at usr/local/cellar/SDL2/lib and will only run on a machine that has them located in this exact directory)

please advise.
Thank you!

Registered users can post here. Sign in or register to post.