mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-08-29 10:09:26 +02:00
Builds and publishes iOS and Android Preview apps that are instantly available to registered testers and quality assurance teams. We are using Firebase App Distribution for this purpose that works seamlessly on both android and iOS. Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
1015 B
1015 B
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