diff --git a/xcode/templates/SFML Application Base.xctemplate/TemplateInfo.plist b/xcode/templates/SFML Application Base.xctemplate/TemplateInfo.plist index 886438fb2..0937a42b4 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 b5fc367b1..f401bfea3 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 4cb77db99..6c1ac4466 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(); }