Simply a fantastic presentation that has demystified this and has given me greater Xcode powers! Thank you Stewart. Note: with Xcode 14.2 , I found that the custom configuration/flag DEVELOPMENT can be added anywhere within the #if, #elseif, #endif sequence--meaning before or after the default RELEASE and DEBUG flags. In the video you note to place the custom ones before these defaults. Works just fine in any order.
Thank you Stewart. A very useful video. Xcode configuration, and the many options available are intimidating. So this video is a great introduction and place to start. More please.
Thank you for this video, it's been a great pleasure to learn this from your Channel. Subscribed!. And btw, you have a great voice, you explain so well and go straight. to the point, Thank you!.
Thx for the video. ---- Before running the project to see the expected behavior, we need to change "Build Configuration" as debug, release or development. Instead, I prefer to create three schemas for each configuration; such as "Debug", "Release", "Development" and then assign needed configuration to each of them. I would be able to use the required configuration by simply selecting the schema from the schemas-dropdown at the top of the Xcode editor.
It would be nice to see this being used in a multi-module app, does it work the same for a module? Are values only accessible inside the actual module or do we have to expose them in the main project for the workspace?
I like this video as I have not done these things in iOS with Swift before, how would I add one target for each platform? I have the following folders: macOS Vapor, macOS AppKit, macOS ncurses, iOS for iPhone, iOS for iPad, tvOS. While the implementation for all of them are in a folder named common. I would also like to be able to add linux amd64 Vapor, and linux amd64 ncurses.