Separating build environments
You want to build against development, staging, and production servers from one project. How would you set up the schemes, build configurations, and xcconfig files?
You want to build against development, staging, and production servers from one project. How would you set up the schemes, build configurations, and xcconfig files?
Define API_BASE_URL, the bundle ID suffix, and the app name per environment in xcconfig files, create configurations for Debug and Release crossed with each environment and attach an xcconfig to each, and let the scheme pick the configuration. Secrets don't go in xcconfig.
Build and distributionShort answerIntro
How do the bundle ID, the certificate, and entitlements connect to a provisioning profile?
#bundle-id
Build and distributionMultiple choiceBasics
Which of the following statements about the difference between Xcode's default Debug and…
#build-configuration
ArchitectureMultiple choiceBasics
Which of these statements about dependency injection styles are correct? Select all that…
#environment
SwiftUIMultiple choiceBasics
You're moving a SwiftUI app's ObservableObject code to @Observable. Select all the…
#environment