Number: 033, Date: 2024-08-19

2024.08.12 ~ 2024.08.18

⚙️ Tuist


To apply Tuist to an existing project, files like Info.plist and xcconfig need to be prepared if there are any custom values different from the default settings.

I made it easier to extract the Info.plist by setting Xcode Target -> Build Settings -> Generate info.plist File to No, then manually moved the key-value pairs from the Info tab to the Info.plist in Xcode’s Navigator panel.

Commands to extract build settings:

# Extract target build settings.
$ tuist migration settings-to-xcconfig -p Project.xcodeproj -t MyApp -x MyApp.xcconfig

# Extract project build settings.
$ tuist migration settings-to-xcconfig -p Project.xcodeproj -x MyAppProject.xcconfig

Using the extracted configurations, I created the xcconfig files.

If your project is composed entirely of Swift files and does not rely on dependency managers like CocoaPods or Carthage, applying Tuist can be done smoothly.

Interestingly, the proportion of Tuist-related blog posts is much higher in Korea than overseas. Many of these posts customize Tuist object initialization methods to avoid writing redundant code, which is helpful. However, it can be inconvenient to identify what changes were made within the methods. It’s essential to choose the right approach depending on the situation.

🙋🏻‍♂️ Other Notes


  1. I posted a LinkedIn update 🔗 Why It’s Okay to Include Incorrect Information in Blog Posts.
  2. I added useful articles related to Medium from the 🔗 Coding Helper YouTube Channel to my Medium list.