Add MARKETING_VERSION and CURRENT_PROJECT_VERSION to project.yml so the generated Info.plist carries CFBundleShortVersionString/CFBundleVersion for the v0.0.1 release artifacts. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
66 lines
1.8 KiB
YAML
66 lines
1.8 KiB
YAML
name: MacMonitor
|
|
options:
|
|
bundleIdPrefix: com.i3omb
|
|
deploymentTarget:
|
|
macOS: "14.0"
|
|
xcodeVersion: "16.0"
|
|
createIntermediateGroups: true
|
|
|
|
settings:
|
|
base:
|
|
ARCHS: "x86_64"
|
|
ONLY_ACTIVE_ARCH: NO
|
|
VALID_ARCHS: "x86_64"
|
|
MACOSX_DEPLOYMENT_TARGET: "14.0"
|
|
SWIFT_VERSION: "5.0"
|
|
CLANG_ENABLE_OBJC_ARC: YES
|
|
CLANG_ENABLE_MODULES: YES
|
|
GENERATE_INFOPLIST_FILE: YES
|
|
MARKETING_VERSION: "0.0.1"
|
|
CURRENT_PROJECT_VERSION: "1"
|
|
CODE_SIGNING_ALLOWED: NO
|
|
CODE_SIGN_IDENTITY: ""
|
|
GCC_C_LANGUAGE_STANDARD: "gnu17"
|
|
CLANG_CXX_LANGUAGE_STANDARD: "gnu++20"
|
|
|
|
targets:
|
|
MacMonitor:
|
|
type: application
|
|
platform: macOS
|
|
deploymentTarget: "14.0"
|
|
sources:
|
|
- path: Sources
|
|
excludes:
|
|
- "Bridging/MacMonitor-Bridging-Header.h"
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: "com.i3omb.MacMonitor"
|
|
INFOPLIST_KEY_CFBundleDisplayName: "MacMonitor"
|
|
INFOPLIST_KEY_NSPrincipalClass: "NSApplication"
|
|
CODE_SIGN_ENTITLEMENTS: "MacMonitor.entitlements"
|
|
SWIFT_OBJC_BRIDGING_HEADER: "Sources/Bridging/MacMonitor-Bridging-Header.h"
|
|
HEADER_SEARCH_PATHS:
|
|
- "$(SRCROOT)/Sources/Core"
|
|
- "$(SRCROOT)/Sources/Bridging"
|
|
- "$(SRCROOT)/Sources/Hardware/**"
|
|
dependencies:
|
|
- sdk: IOKit.framework
|
|
- sdk: CoreFoundation.framework
|
|
|
|
MacMonitorTests:
|
|
type: bundle.unit-test
|
|
platform: macOS
|
|
deploymentTarget: "14.0"
|
|
sources:
|
|
- path: Tests
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: "com.i3omb.MacMonitorTests"
|
|
SWIFT_OBJC_BRIDGING_HEADER: "Sources/Bridging/MacMonitor-Bridging-Header.h"
|
|
HEADER_SEARCH_PATHS:
|
|
- "$(SRCROOT)/Sources/Core"
|
|
- "$(SRCROOT)/Sources/Bridging"
|
|
- "$(SRCROOT)/Sources/Hardware/**"
|
|
dependencies:
|
|
- target: MacMonitor
|