I'm trying to make a bundle of my Mac OS X app compiled by Free Pascal through Xcode. I've got SDL2, SDL2_mixer and SDL2_image in the Frameworks folder of my app bundle. But the app can't find them. The SDL2 binaries all have "@rpath/SDL2.framework/Version/A/SDL2" as their install names, so setting "Runtime Search Paths" in Xcode to "@executable_path/../Frameworks" should mean that the compiled binary can find the frameworks. But it still can't. So is there some issue with compiler parameters set in Xcode not being passed on to Free Pascal?