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 a157afd4..f89e609f 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 8746f3bd..da0bd359 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;