A CommandLine Tool for Renaming Xcode Projects

Publié le: 29 juin 2025
sur la chaîne: Stewart Lynch
1,796
151

Renaming an Xcode project after it’s been created can be a real pain. From updating the bundle identifier, target names, entitlements, file structures, and folders—it’s easy to miss something.

In this video, I’ll walk you through a streamlined command line tool that simplifies the entire process. Originally a Swift script by Marko Tadić, I’ve turned it into an installable CLI tool called xprename to make renaming projects faster and more accessible. With just one command, you can rename your entire project, and I’ll show you exactly how it works, step-by-step.

You’ll learn:
• Why renaming manually is error-prone
• How to use the tool via Terminal
• Two easy ways to install: with Homebrew or from source
• How the tool works behind the scenes using Swift’s ArgumentParser

If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch

My Weekly Newsletter
https://stewartlynch.kit.com

My Channel Application - Free
https://stewartlynch.gumroad.com/l/obsjz

My full length multi-target course to build a Mac Menubar app, an iOS App with WIdgets and a WatchKit app
https://stewartlynch-school.teachable...

Table of Contents:
0:00 Introduction
0:18 Commandine tool Demo
3:35 Installation option 1 - Homebrew
6:02 Installation Option 2 - Swift Package

References mentioned in video:
Xcode Project Renamer Repository
https://github.com/StewartLynch/Xcode...

Marko Tadić Script
https://github.com/tadija/xcode-proje...

Homebrew
https://brew.sh

CommandLine Tools with Swift Argument Parser
   • Swift CommandLine with ArgumentParser  

Recommended Resources:

RocketSim - Build Apps Faster
https://gumroad.com/a/122988499/ftvbh

BigMountain Studio Books
SwiftData Mastery in SwiftUI
https://www.bigmountainstudio.com/swi...
SwiftUI Views Mastery
https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle
https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI
https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI
https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery
https://www.bigmountainstudio.com/ani...

Other References:
Stewart Lynch's YouTube Channel:
   / @stewartlynch  
Stewart Lynch on Mastodon:
https://iosdev.space/@StewartLynch
Stewart Lynch on BlueSky:
@stewartlynch.bsky.social
Stewart Lynch On Threads:
@StewartLynch
Stewart Lynch on X:
https://x.com/StewartLynch
Stewart Lynch on LinkedIn
  / stewartlynch  


Sur cette page du site, vous pouvez voir la vidéo en ligne A CommandLine Tool for Renaming Xcode Projects durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Stewart Lynch 29 juin 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,796 fois et il a aimé 151 téléspectateurs. Bon visionnage!