element-x-ios/project.yml

138 lines
4.1 KiB
YAML

name: ElementX
attributes:
ORGANIZATIONNAME: Element
fileGroups:
- project.yml
options:
groupSortPosition: bottom
createIntermediateGroups: true
deploymentTarget:
iOS: "16.4"
macOS: "13.3"
groupOrdering:
- order: [ElementX, UnitTests, UITests, IntegrationTests, Tools]
- pattern: ElementX
order: [Sources, Resources, SupportingFiles]
- pattern: Sources
order: [Application, UserSession, Services, FlowCoordinators, Screens, Other, UITests]
postGenCommand: cd Tools/XcodeGen && sh postGenCommand.sh
settings:
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: "colors/accent-color"
ENABLE_BITCODE: NO
BASE_APP_GROUP_IDENTIFIER: io.element
APP_GROUP_IDENTIFIER: group.$(BASE_APP_GROUP_IDENTIFIER)
BASE_BUNDLE_IDENTIFIER: io.element.elementx
APP_NAME: ElementX
APP_DISPLAY_NAME: Element X
PRODUCTION_APP_NAME: Element
KEYCHAIN_ACCESS_GROUP_IDENTIFIER: $(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)
MARKETING_VERSION: 1.6.4
CURRENT_PROJECT_VERSION: 1
DEVELOPMENT_TEAM: 7J4U792NQT
SUPPORTS_MACCATALYST: NO
include:
- path: ElementX/SupportingFiles/target.yml
- path: UnitTests/SupportingFiles/target.yml
- path: PreviewTests/SupportingFiles/target.yml
- path: UITests/SupportingFiles/target.yml
- path: IntegrationTests/SupportingFiles/target.yml
- path: NSE/SupportingFiles/target.yml
# not used yet
# - path: NCE/SupportingFiles/target.yml
packages:
# Element/Matrix dependencies
MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.1.60
# path: ../matrix-rust-sdk
Compound:
url: https://github.com/element-hq/compound-ios
revision: 065d04ccbd4b5cfffa04428ed3869a3ad275ee04
# path: ../compound-ios
AnalyticsEvents:
url: https://github.com/matrix-org/matrix-analytics-events
minorVersion: 0.14.0
# path: ../matrix-analytics-events
Emojibase:
url: https://github.com/matrix-org/emojibase-bindings
minorVersion: 1.0.0
SwiftOGG:
url: https://github.com/element-hq/swift-ogg
minorVersion: 0.0.2
# path: ../swift-ogg
WysiwygComposer:
url: https://github.com/matrix-org/matrix-rich-text-editor-swift
exactVersion: 2.36.0
# path: ../matrix-rich-text-editor/platforms/ios/lib/WysiwygComposer
# External dependencies
Algorithms:
url: https://github.com/apple/swift-algorithms
minorVersion: 1.0.0
Collections:
url: https://github.com/apple/swift-collections
minorVersion: 1.0.0
DeviceKit:
url: https://github.com/devicekit/DeviceKit
minorVersion: 5.2.2
DSWaveformImage:
url: https://github.com/dmrschmidt/DSWaveformImage
exactVersion: 14.1.1
DTCoreText:
url: https://github.com/Cocoanetics/DTCoreText
exactVersion: 1.6.26
GZIP:
url: https://github.com/nicklockwood/GZIP
minorVersion: 1.3.0
KeychainAccess:
url: https://github.com/kishikawakatsumi/KeychainAccess
minorVersion: 4.2.0
Kingfisher:
url: https://github.com/onevcat/Kingfisher
minorVersion: 7.6.0
KZFileWatchers:
url: https://github.com/krzysztofzablocki/KZFileWatchers
branch: master
LRUCache:
url: https://github.com/nicklockwood/LRUCache
minorVersion: 1.0.4
Mapbox:
url: https://github.com/maplibre/maplibre-gl-native-distribution
minorVersion: 5.13.0
PostHog:
url: https://github.com/PostHog/posthog-ios
minorVersion: 2.0.3
Prefire:
url: https://github.com/BarredEwe/Prefire
minorVersion: 2.0.4
Sentry:
url: https://github.com/getsentry/sentry-cocoa
minorVersion: 8.13.0
SnapshotTesting:
url: https://github.com/pointfreeco/swift-snapshot-testing
minorVersion: 1.13.0
SwiftState:
url: https://github.com/ReactKit/SwiftState
minorVersion: 6.0.0
SwiftUIIntrospect:
url: https://github.com/siteline/SwiftUI-Introspect
minorVersion: 0.9.0
Version:
url: https://github.com/mxcl/Version
minorVersion: 2.0.0
aggregateTargets:
Periphery:
buildScripts:
- name: "Scan"
script: |
export PATH="$PATH:/opt/homebrew/bin"
periphery scan --format xcode
basedOnDependencyAnalysis: false