Setting up Xcode for modularization

Written for Xcode 15.2 Create the multiplatform app Start Xcode and go to File➡️New Project (⇧⌘N) Select the Multiplatform App template and click Next: Set the options for the new project and click Next. We’ll be using DemoProductName to see how Xcode uses this name. For example, note how it’s automatically appended to the organization identifier, generating the bundle identifier: Save the project on the disk. At this point, Xcode has created a DemoProductName scheme which can build the app for iOS or MacOS....

Tip #2: Development Assets

The default Xcode template contains a Preview Content folder, ideal for placing assets only used in previews and mocking data for tests. This works thanks to DEVELOPMENT_ASSET_PATHS (reference), a build setting defining files and directories excluded from archive and install builds.