diff --git a/xcode/templates/SFML Application Base.xctemplate/TemplateInfo.plist b/xcode/templates/SFML Application Base.xctemplate/TemplateInfo.plist
index 886438fb..0937a42b 100644
--- a/xcode/templates/SFML Application Base.xctemplate/TemplateInfo.plist
+++ b/xcode/templates/SFML Application Base.xctemplate/TemplateInfo.plist
@@ -521,7 +521,7 @@ while (window.IsOpened())
window.Close();
// Escape pressed : exit
- if (event.Type == sf::Event::KeyPressed && event.Key.Code == sf::Key::Escape)
+ if (event.Type == sf::Event::KeyPressed && event.Key.Code == sf::Keyboard::Escape)
window.Close();
}
diff --git a/xcode/templates/SFML Application.xctemplate/TemplateInfo.plist b/xcode/templates/SFML Application.xctemplate/TemplateInfo.plist
index b5fc367b..f401bfea 100644
--- a/xcode/templates/SFML Application.xctemplate/TemplateInfo.plist
+++ b/xcode/templates/SFML Application.xctemplate/TemplateInfo.plist
@@ -84,6 +84,12 @@ subject to the following restrictions:
WRAPPER_EXTENSION
app
+
+ GCC_PRECOMPILE_PREFIX_HEADER
+ NO
+
+ GCC_PREFIX_HEADER
+
Configurations
diff --git a/xcode/templates/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist b/xcode/templates/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist
index 4cb77db9..6c1ac446 100644
--- a/xcode/templates/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist
+++ b/xcode/templates/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist
@@ -506,7 +506,7 @@ while (window.IsOpened())
window.Close();
// Escape pressed : exit
- if (event.Type == sf::Event::KeyPressed && event.Key.Code == sf::Key::Escape)
+ if (event.Type == sf::Event::KeyPressed && event.Key.Code == sf::Keyboard::Escape)
window.Close();
}