name: AIDCommand
options:
bundleIdPrefix: com.mingsun
createIntermediateGroups: true
settings:
base:
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
CODE_SIGNING_REQUIRED: "NO"
CODE_SIGNING_ALLOWED: "NO"
MARKETING_VERSION: "0.1.0"
CURRENT_PROJECT_VERSION: "1"
PRODUCT_NAME: AID Command
PRODUCT_BUNDLE_IDENTIFIER: com.mingsun.aidcommand
ENABLE_APP_SANDBOX: "NO"
ENABLE_USER_SCRIPT_SANDBOXING: "NO"
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
targetTemplates:
App:
type: application
sources:
- path: AIDCommand
settings:
base:
PRODUCT_MODULE_NAME: AIDCommand
info:
path: Support/Info-${target_name}.plist
properties:
CFBundleDisplayName: AID Command
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
LSApplicationCategoryType: public.app-category.developer-tools
NSAppTransportSecurity:
NSAllowsLocalNetworking: true
NSLocalNetworkUsageDescription: >-
AID Command connects to the aid server running on your Mac to show
dispatched agent tasks.
targets:
AIDCommandMac:
templates: [App]
platform: macOS
deploymentTarget: "14.0"
AIDCommandiPad:
templates: [App]
platform: iOS
deploymentTarget: "17.0"
settings:
base:
TARGETED_DEVICE_FAMILY: "2"
INFOPLIST_KEY_UIUserInterfaceStyle: Dark
INFOPLIST_KEY_UILaunchScreen_Generation: "YES"
AIDCommandTestsMac:
type: bundle.unit-test
platform: macOS
deploymentTarget: "14.0"
sources: [AIDCommandTests]
dependencies:
- target: AIDCommandMac
settings:
base:
GENERATE_INFOPLIST_FILE: "YES"
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/AID Command.app/Contents/MacOS/AID Command"
BUNDLE_LOADER: "$(TEST_HOST)"
AIDCommandTestsiPad:
type: bundle.unit-test
platform: iOS
deploymentTarget: "17.0"
sources: [AIDCommandTests]
dependencies:
- target: AIDCommandiPad
settings:
base:
GENERATE_INFOPLIST_FILE: "YES"
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/AID Command.app/AID Command"
BUNDLE_LOADER: "$(TEST_HOST)"
schemes:
AIDCommand macOS:
build:
targets: { AIDCommandMac: all }
test:
targets: [AIDCommandTestsMac]
AIDCommand iPad:
build:
targets: { AIDCommandiPad: all }
test:
targets: [AIDCommandTestsiPad]