# XcodeGen spec: `brew install xcodegen && xcodegen` creates Jobley.xcodeproj with the Mac app # (the curator's desk) and the iPhone app (the board for everyone, plus the review queue for # curators and moderators). Both use the local Swift package for shared code. # Releases follow RELEASING.md. name: Jobley options: bundleIdPrefix: com.protomota deploymentTarget: { macOS: "15.0", iOS: "18.0" } packages: Jobley: { path: . } Sparkle: { url: https://github.com/sparkle-project/Sparkle, from: "2.10.0" } settings: base: MARKETING_VERSION: "0.1.2" CURRENT_PROJECT_VERSION: "4" SWIFT_VERSION: "5.0" PRODUCT_NAME: Jobley PRODUCT_BUNDLE_IDENTIFIER: com.protomota.jobley DEVELOPMENT_TEAM: 22HV69L32T CODE_SIGN_STYLE: Automatic ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor targets: JobleyMac: type: application platform: macOS sources: [Apps/Mac] dependencies: - package: Jobley product: JobleyKit - package: Jobley product: JobleyUI - package: Sparkle product: Sparkle settings: base: ENABLE_HARDENED_RUNTIME: YES PROVISIONING_PROFILE_SPECIFIER: $(JOBLEY_RELEASE_PROFILE) # Sparkle: the signed feed on the website and the public half of the update key (RELEASING.md). JOBLEY_UPDATE_FEED: https:/$()/jobley.ai/appcast.xml JOBLEY_UPDATE_PUBLIC_KEY: "rRjcXrsED33G3oKThW+dC2BCK1wFEtrTfKUs5xKUH5k=" entitlements: path: Apps/Mac/JobleyMac.entitlements properties: com.apple.security.network.client: true # Passkeys for jobley.ai (the site serves /.well-known/apple-app-site-association). com.apple.developer.associated-domains: [webcredentials:jobley.ai] info: path: Apps/Mac/Info.plist properties: CFBundleDisplayName: Jobley CFBundleShortVersionString: $(MARKETING_VERSION) CFBundleVersion: $(CURRENT_PROJECT_VERSION) LSApplicationCategoryType: public.app-category.business ITSAppUsesNonExemptEncryption: false NSHumanReadableCopyright: "Free and open source, public domain (Unlicense)." SUFeedURL: $(JOBLEY_UPDATE_FEED) SUPublicEDKey: $(JOBLEY_UPDATE_PUBLIC_KEY) NSAppTransportSecurity: { NSAllowsLocalNetworking: true } JobleyPhone: type: application platform: iOS sources: [Apps/iPhone] dependencies: - package: Jobley product: JobleyKit - package: Jobley product: JobleyUI settings: base: TARGETED_DEVICE_FAMILY: "1,2" # iPhone and iPad PROVISIONING_PROFILE_SPECIFIER: $(JOBLEY_IOS_RELEASE_PROFILE) entitlements: path: Apps/iPhone/JobleyPhone.entitlements properties: # Passkeys for jobley.ai (the site serves /.well-known/apple-app-site-association). com.apple.developer.associated-domains: [webcredentials:jobley.ai] info: path: Apps/iPhone/Info.plist properties: CFBundleDisplayName: Jobley CFBundleShortVersionString: $(MARKETING_VERSION) CFBundleVersion: $(CURRENT_PROJECT_VERSION) ITSAppUsesNonExemptEncryption: false LSApplicationCategoryType: public.app-category.business UILaunchScreen: {} UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait] UISupportedInterfaceOrientations~ipad: [UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] # The dev server for local testing runs on http://localhost. NSAppTransportSecurity: { NSAllowsLocalNetworking: true } schemes: JobleyMac: build: targets: JobleyMac: all run: config: Debug archive: config: Release JobleyPhone: build: targets: JobleyPhone: all run: config: Debug archive: config: Release