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 a157afd4c..f89e609f6 100644
--- a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist
+++ b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist
@@ -548,7 +548,7 @@ int main (int argc, const char * argv[])
main.cpp:main:event_loop
// Start the game loop
-while (window.IsOpened())
+while (window.IsOpen())
{
// Process events
sf::Event event;
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 8746f3bd0..da0bd3590 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
@@ -529,7 +529,7 @@ int main (int argc, const char * argv[])
main.cpp:main:event_loop
// Start the game loop
-while (window.IsOpened())
+while (window.IsOpen())
{
// Process events
sf::Event event;