hex/ios/project.yml
Ryan Vogel 6b0a07fafd
iOS: keep the internal version at 0.2.0 (#2053)
Ryan wants the repo and TestFlight to stay on 0.2.0, which beta review approved; the App Store submission gets its own 0.2.1 build. Reverts #2052's MARKETING_VERSION 1.0 (iPhone only and the privacy manifests stay).

Verified project.yml: MARKETING_VERSION 0.2.0 for all three targets, TARGETED_DEVICE_FAMILY 1 unchanged.
2026-11-20 16:02:24 +00:00

155 lines
No EOL
5.3 KiB
YAML

name: HEXMobile
options:
minimumXcodeGenVersion: 2.46.0
bundleIdPrefix: anomaly.hex
deploymentTarget:
iOS: "18.0"
xcodeVersion: "2660"
packages:
FluidAudio:
url: https://github.com/FluidInference/FluidAudio.git
exactVersion: 0.15.5
settings:
base:
DEVELOPMENT_TEAM: 5NZ4Q7NXJ4
SWIFT_VERSION: 6.0
targets:
HEXMobile:
type: application
platform: iOS
sources:
- HEXMobile
- HEXShared
- HEXActivity
- path: ../app/AppIcon.icon
buildPhase: resources
dependencies:
- package: FluidAudio
- target: HEXKeyboard
embed: true
- target: HEXWidgets
embed: true
info:
path: HEXMobile/Info.plist
properties:
CFBundleDisplayName: Hex
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
CADisableMinimumFrameDurationOnPhone: true
CFBundleURLTypes:
- CFBundleTypeRole: Editor
CFBundleURLName: anomaly.hex.mobile.keyboard-session
CFBundleURLSchemes:
- hex-dictation
NSMicrophoneUsageDescription: Hex records only while you dictate and transcribes locally on this iPhone.
NSSpeechRecognitionUsageDescription: Hex uses Apple's on-device SpeechTranscriber to turn your recording into text.
NSSupportsLiveActivities: true
ITSAppUsesNonExemptEncryption: false
UIBackgroundModes:
- audio
UILaunchScreen:
UIColorName: LaunchBackground
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
settings:
base:
ASSETCATALOG_COMPILER_ACCENT_COLOR_NAME: AccentColor
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
CODE_SIGN_STYLE: Automatic
CODE_SIGN_ENTITLEMENTS: HEXMobile/HEXMobile.entitlements
CURRENT_PROJECT_VERSION: 1
GENERATE_INFOPLIST_FILE: NO
MARKETING_VERSION: 0.2.0
TARGETED_DEVICE_FAMILY: "1"
OTHER_LDFLAGS: $(inherited) -weak_framework FoundationModels
OTHER_SWIFT_FLAGS: $(inherited) -Xfrontend -disable-autolink-framework -Xfrontend FoundationModels
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile
PRODUCT_NAME: HEX
scheme:
gatherCoverageData: false
testTargets:
- HEXMobileTests
HEXKeyboard:
type: app-extension
platform: iOS
sources:
- HEXKeyboard
- HEXShared
info:
path: HEXKeyboard/Info.plist
properties:
CFBundleDisplayName: Hex Keyboard
NSMicrophoneUsageDescription: Hex records only while you dictate and transcribes locally on this iPhone.
NSSpeechRecognitionUsageDescription: Hex uses Apple's on-device SpeechTranscriber to turn your recording into text.
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
NSExtension:
NSExtensionAttributes:
IsASCIICapable: true
PrefersRightToLeft: false
PrimaryLanguage: en-US
RequestsOpenAccess: true
NSExtensionPointIdentifier: com.apple.keyboard-service
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).KeyboardViewController
settings:
base:
APPLICATION_EXTENSION_API_ONLY: YES
CODE_SIGN_ENTITLEMENTS: HEXKeyboard/HEXKeyboard.entitlements
COREML_CODEGEN_LANGUAGE: None
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
GENERATE_INFOPLIST_FILE: NO
MARKETING_VERSION: 0.2.0
TARGETED_DEVICE_FAMILY: "1"
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile.keyboard
PRODUCT_NAME: HEXKeyboard
SKIP_INSTALL: YES
HEXWidgets:
type: app-extension
platform: iOS
sources:
- HEXWidgets
- HEXActivity
- HEXShared/HexTheme.swift
info:
path: HEXWidgets/Info.plist
properties:
CFBundleDisplayName: Hex
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
NSExtension:
NSExtensionPointIdentifier: com.apple.widgetkit-extension
settings:
base:
APPLICATION_EXTENSION_API_ONLY: YES
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
GENERATE_INFOPLIST_FILE: NO
MARKETING_VERSION: 0.2.0
TARGETED_DEVICE_FAMILY: "1"
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile.widgets
PRODUCT_NAME: HEXWidgets
SKIP_INSTALL: YES
HEXMobileTests:
type: bundle.unit-test
platform: iOS
sources:
- HEXMobileTests
- path: ../tests/fixtures/vocabulary/audio/term-hex-1.wav
buildPhase: resources
dependencies:
- target: HEXMobile
settings:
base:
BUNDLE_LOADER: $(TEST_HOST)
CODE_SIGN_STYLE: Automatic
GENERATE_INFOPLIST_FILE: YES
PRODUCT_BUNDLE_IDENTIFIER: anomaly.hex.mobile.tests
TEST_HOST: $(BUILT_PRODUCTS_DIR)/HEX.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/HEX