diff --git a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist
index 18c19873b..23ed4e7f2 100644
--- a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist
+++ b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist
@@ -68,6 +68,9 @@ subject to the following restrictions:
SFML_BINARY_TYPE
FRAMEWORKS
+
+ SFML_LINK_DYLIBS_SUFFIX_DEBUG
+
@@ -616,7 +619,7 @@ while (window.isOpen())
main.cpp:main:audio_loop
while (music.getStatus() == sf::Music::Playing) {
- sf::Sleep(100);
+ sf::sleep(sf::microseconds(100));
}
@@ -742,7 +745,7 @@ require () # $1 is a SFML module like 'system' or 'audio'
if [ "$frameworks" = "true" ]
then
ditto "/Library/Frameworks/sfml-$1.framework" "$dest/sfml-$1.framework"
- elif [ $CONFIGURATION = "Debug" ] && [ $SFML_LINK_DYLIBS_SUFFIX_DEBUG != "" ]
+ elif [ $CONFIGURATION = "Debug" ] && [ $SFML_LINK_DYLIBS_SUFFIX_DEBUG != "" ]
then
ditto "/usr/local/lib/libsfml-$1-d.2.dylib" "$dest/libsfml-$1-d.2.dylib"
else
diff --git a/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist
index bd475d26c..75df00b27 100644
--- a/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist
+++ b/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist
@@ -68,6 +68,9 @@ subject to the following restrictions:
SFML_BINARY_TYPE
FRAMEWORKS
+
+ SFML_LINK_DYLIBS_SUFFIX_DEBUG
+
@@ -613,7 +616,7 @@ while (window.isOpen())
main.cpp:main:audio_loop
while (music.getStatus() == sf::Music::Playing) {
- sf::Sleep(100);
+ sf::sleep(sf::microseconds(100));
}