apps/mobile/ios/build-configs/README.md
This folder controls iOS bundle identifiers and app display name per environment.
ios-build.production.xcconfig: production identifiers and nameios-build.staging.xcconfig: staging identifiers and nameios-build.active.xcconfig: active config consumed during builduse-ios-build-config.sh: helper to switch active configFrom apps/mobile:
bash ios/build-configs/use-ios-build-config.sh production
bash ios/build-configs/use-ios-build-config.sh staging
Use xcodebuild with the active file:
xcodebuild \
-workspace ios/Notesnook.xcworkspace \
-scheme Notesnook \
-configuration Release \
-xcconfig ios/build-configs/ios-build.active.xcconfig
You can also use a specific config file directly:
xcodebuild \
-workspace ios/Notesnook.xcworkspace \
-scheme Notesnook \
-configuration Release \
-xcconfig ios/build-configs/ios-build.staging.xcconfig