mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-07-09 20:09:36 +02:00
…
iOS Build Config Switching
This folder controls iOS bundle identifiers and app display name per environment.
Files
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 config
Switch Active Config
From apps/mobile:
bash ios/build-configs/use-ios-build-config.sh production
bash ios/build-configs/use-ios-build-config.sh staging
Build With Active Config
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