Jobley / app · jobley.ai / project.yml
| 1 | # XcodeGen spec: `brew install xcodegen && xcodegen` creates Jobley.xcodeproj with the Mac app |
| 2 | # (the curator's desk) and the iPhone app (the board for everyone, plus the review queue for |
| 3 | # curators and moderators). Both use the local Swift package for shared code. |
| 4 | # Releases follow RELEASING.md. |
| 5 | name: Jobley |
| 6 | options: |
| 7 | bundleIdPrefix: com.protomota |
| 8 | deploymentTarget: { macOS: "15.0", iOS: "18.0" } |
| 9 | packages: |
| 10 | Jobley: { path: . } |
| 11 | Sparkle: { url: https://github.com/sparkle-project/Sparkle, from: "2.10.0" } |
| 12 | settings: |
| 13 | base: |
| 14 | MARKETING_VERSION: "0.1.2" |
| 15 | CURRENT_PROJECT_VERSION: "4" |
| 16 | SWIFT_VERSION: "5.0" |
| 17 | PRODUCT_NAME: Jobley |
| 18 | PRODUCT_BUNDLE_IDENTIFIER: com.protomota.jobley |
| 19 | DEVELOPMENT_TEAM: 22HV69L32T |
| 20 | CODE_SIGN_STYLE: Automatic |
| 21 | ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon |
| 22 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor |
| 23 | targets: |
| 24 | JobleyMac: |
| 25 | type: application |
| 26 | platform: macOS |
| 27 | sources: [Apps/Mac] |
| 28 | dependencies: |
| 29 | - package: Jobley |
| 30 | product: JobleyKit |
| 31 | - package: Jobley |
| 32 | product: JobleyUI |
| 33 | - package: Sparkle |
| 34 | product: Sparkle |
| 35 | settings: |
| 36 | base: |
| 37 | ENABLE_HARDENED_RUNTIME: YES |
| 38 | PROVISIONING_PROFILE_SPECIFIER: $(JOBLEY_RELEASE_PROFILE) |
| 39 | # Sparkle: the signed feed on the website and the public half of the update key (RELEASING.md). |
| 40 | JOBLEY_UPDATE_FEED: https:/$()/jobley.ai/appcast.xml |
| 41 | JOBLEY_UPDATE_PUBLIC_KEY: "rRjcXrsED33G3oKThW+dC2BCK1wFEtrTfKUs5xKUH5k=" |
| 42 | entitlements: |
| 43 | path: Apps/Mac/JobleyMac.entitlements |
| 44 | properties: |
| 45 | com.apple.security.network.client: true |
| 46 | # Passkeys for jobley.ai (the site serves /.well-known/apple-app-site-association). |
| 47 | com.apple.developer.associated-domains: [webcredentials:jobley.ai] |
| 48 | info: |
| 49 | path: Apps/Mac/Info.plist |
| 50 | properties: |
| 51 | CFBundleDisplayName: Jobley |
| 52 | CFBundleShortVersionString: $(MARKETING_VERSION) |
| 53 | CFBundleVersion: $(CURRENT_PROJECT_VERSION) |
| 54 | LSApplicationCategoryType: public.app-category.business |
| 55 | ITSAppUsesNonExemptEncryption: false |
| 56 | NSHumanReadableCopyright: "Free and open source, public domain (Unlicense)." |
| 57 | SUFeedURL: $(JOBLEY_UPDATE_FEED) |
| 58 | SUPublicEDKey: $(JOBLEY_UPDATE_PUBLIC_KEY) |
| 59 | NSAppTransportSecurity: { NSAllowsLocalNetworking: true } |
| 60 | JobleyPhone: |
| 61 | type: application |
| 62 | platform: iOS |
| 63 | sources: [Apps/iPhone] |
| 64 | dependencies: |
| 65 | - package: Jobley |
| 66 | product: JobleyKit |
| 67 | - package: Jobley |
| 68 | product: JobleyUI |
| 69 | settings: |
| 70 | base: |
| 71 | TARGETED_DEVICE_FAMILY: "1,2" # iPhone and iPad |
| 72 | PROVISIONING_PROFILE_SPECIFIER: $(JOBLEY_IOS_RELEASE_PROFILE) |
| 73 | entitlements: |
| 74 | path: Apps/iPhone/JobleyPhone.entitlements |
| 75 | properties: |
| 76 | # Passkeys for jobley.ai (the site serves /.well-known/apple-app-site-association). |
| 77 | com.apple.developer.associated-domains: [webcredentials:jobley.ai] |
| 78 | info: |
| 79 | path: Apps/iPhone/Info.plist |
| 80 | properties: |
| 81 | CFBundleDisplayName: Jobley |
| 82 | CFBundleShortVersionString: $(MARKETING_VERSION) |
| 83 | CFBundleVersion: $(CURRENT_PROJECT_VERSION) |
| 84 | ITSAppUsesNonExemptEncryption: false |
| 85 | LSApplicationCategoryType: public.app-category.business |
| 86 | UILaunchScreen: {} |
| 87 | UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait] |
| 88 | UISupportedInterfaceOrientations~ipad: [UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] |
| 89 | # The dev server for local testing runs on http://localhost. |
| 90 | NSAppTransportSecurity: { NSAllowsLocalNetworking: true } |
| 91 | |
| 92 | schemes: |
| 93 | JobleyMac: |
| 94 | build: |
| 95 | targets: |
| 96 | JobleyMac: all |
| 97 | run: |
| 98 | config: Debug |
| 99 | archive: |
| 100 | config: Release |
| 101 | JobleyPhone: |
| 102 | build: |
| 103 | targets: |
| 104 | JobleyPhone: all |
| 105 | run: |
| 106 | config: Debug |
| 107 | archive: |
| 108 | config: Release |