From 9a8ba74c62717d3c73dd07c4cff85a776d6bc0b9 Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Tue, 7 Oct 2014 10:58:39 +0200 Subject: [PATCH] Updated Xcode templates Since the @loader_path was replaced with @rpath, to correctly load binaries from within a bundle app we need to add the Frameworks subdirectory to the run path list. --- .../templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist index b3c3560a..fa13061d 100644 --- a/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist @@ -127,6 +127,9 @@ subject to the following restrictions: INFOPLIST_FILE ___PACKAGENAME___/___PACKAGENAME___-Info.plist + + LD_RUNPATH_SEARCH_PATHS + @loader_path/../Frameworks