another.im-ios/project.yml
2024-12-18 04:51:41 +01:00

103 lines
2.9 KiB
YAML

---
name: AnotherIM
options:
postGenCommand: swiftgen
packages:
SwiftfulRouting:
url: https://github.com/SwiftfulThinking/SwiftfulRouting
majorVersion: 5.3.5
KeychainAccess:
url: https://github.com/kishikawakatsumi/KeychainAccess.git
majorVersion: 4.2.2
GRDB:
url: https://github.com/groue/GRDB.swift.git
majorVersion: 6.29.3
settings:
DEVELOPMENT_TEAM: K78H7BT98L
targets:
# Notification service here...
#
# Sharing service here...
#
# xmpp framework
AnotherXMPP:
type: framework
platform: iOS
deploymentTarget: 16.0
scheme: {}
sources:
- path: AnotherXMPP
info:
path: ./AnotherXMPP/Info.plist
properties:
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE)
settings:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
PRODUCT_BUNDLE_IDENTIFIER: im.narayana.anotherxmpp.lib
DEAD_CODE_STRIPPING: true
dependencies:
- sdk: libxml2.tbd
- sdk: Security.framework
# - framework: Lib/WebRTC.xcframework
# iOS App
AnotherIM:
type: application
platform: iOS
deploymentTarget: 16.0
scheme: {}
info:
path: Info.plist
properties:
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
UILaunchStoryboardName: launchscreen.storyboard
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
NSPhotoLibraryUsageDescription: Allow app to send photo from gallery in attachments
NSCameraUsageDescription: Allow app to take picture from camera and send it in atachments
NSMicrophoneUsageDescription: Allow app to take sound from microphone for attachment video
NSLocationWhenInUseUsageDescription: Allow app to take your geo to send it in attachment
NSLocationAlwaysAndWhenInUseUsageDescription: Allow app to take your geo to send it in attachment
UISupportsDocumentBrowser: true
# UIViewControllerBasedStatusBarAppearance: NO
# UIStatusBarStyle: UIStatusBarStyleLightContent
# NSFaceIDUsageDescription: Required for accessing to account info
# UIUserInterfaceStyle: Light
CFBundleDisplayName: another.im
CFBundleShortVersionString: "1.0.0"
CFBundleVersion: "7"
sources:
- path: AnotherIM
excludes:
- .nvim
settings:
TARGETED_DEVICE_FAMILY: 1
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
PRODUCT_BUNDLE_IDENTIFIER: im.narayana.anotherim.ios
DEAD_CODE_STRIPPING: true
dependencies:
- sdk: Security.framework
- sdk: CryptoKit.framework
- target: AnotherXMPP
- package: SwiftfulRouting
link: true
- package: KeychainAccess
limk: true
- package: GRDB
link: true
preBuildScripts:
- script: swiftlint
name: Swiftlint
basedOnDependencyAnalysis: false
- script: ./.swiftgen/bin/swiftgen
name: SwiftGen
basedOnDependencyAnalysis: false
parallelizeBuild: true