What are Xcode Schemes?
How to create multiple schemes to support production and development configurations!
In Xcode, a scheme is a collection of settings that defines how your app is built, run, tested, profiled, and archived. It represents a specific configuration of your app, such as a debug or release build. Xcode creates a default scheme for you when you start a new project, but you can create additional schemes for different build configurations, such as development or production.
By using Xcode schemes for development and production, you can create two separate schemes with different build settings and configurations for each. For example, you might set different API endpoints, bundle identifiers, or code signing settings for your development and production environments. This simplifies the process of switching between development and production builds, as you don’t have to manually change build settings every time you create a new build.
NOTE
Using Xcode schemes enables you to specify different bundle identifiers and app names for different build configurations. This means that you can have distinct app identities and branding for your development and production environments, making it easier to differentiate between the two and maintain consistency across your builds.