I know this isn't a Lazarus question as I'm using Xcode, but everywhere else I've asked it, they didn't know what was wrong, so now I'm trying here...
I've got an app that I've compiled with Free Pascal through Xcode. The app runs fine, but when I try to bundle the SDL2, SDL2_image and SDL2_mixer frameworks into the bundle, it can't find them. The problem seems to be in setting the Runtime Search Path (@rpath) to expand to @loader_path/../Frameworks. In Xcode, I've set everything as people have told me to, but the bundled app still can't find the bundled frameworks:
dyld: Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2
Referenced from: /Users/mac/Desktop/Ascii Sector.app/Contents/MacOS/./asciisec
Reason: image not found
Trace/BPT trap
Anybody here have had similar problems getting a bundled app to find the bundled frameworks?