SDL: Catch the iOS demos when renaming API functions

From 32fad06a935a50cf148a1b88bfedbb302064717b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 23 Dec 2022 20:32:12 -0800
Subject: [PATCH] Catch the iOS demos when renaming API functions

---
 build-scripts/rename_api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-scripts/rename_api.py b/build-scripts/rename_api.py
index 5c7b09cd6735..d5098aad9d97 100755
--- a/build-scripts/rename_api.py
+++ b/build-scripts/rename_api.py
@@ -39,7 +39,7 @@ def main():
     # Replace the symbol in source code and documentation
     replacements = { args.oldname: args.newname }
     regex = create_regex_from_replacements(replacements)
-    for dir in ['src', 'test', 'include', 'docs']:
+    for dir in ["src", "test", "include", "docs", "Xcode-iOS/Demos"]:
         replace_symbols_in_path(SDL_ROOT / dir, regex, replacements)
 
     add_symbol_to_oldnames(header.name, args.oldname, args.newname)