project.yml (3835B)
1 name: Crossmate 2 3 options: 4 bundleIdPrefix: net.inqk.crossmate 5 deploymentTarget: 6 iOS: "26.0" 7 8 configFiles: 9 Debug: Generated/BuildNumber.xcconfig 10 Release: Generated/BuildNumber.xcconfig 11 12 settings: 13 SWIFT_VERSION: 6 14 DEAD_CODE_STRIPPING: YES 15 ENABLE_USER_SCRIPT_SANDBOXING: YES 16 ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOL_EXTENSIONS: YES 17 ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: YES 18 SWIFT_EMIT_LOC_STRINGS: YES 19 STRING_CATALOG_GENERATE_SYMBOLS: YES 20 DEVELOPMENT_TEAM: 7TD7PZBNXP 21 22 targets: 23 Crossmate: 24 type: application 25 platform: iOS 26 sources: 27 - Crossmate 28 - Shared 29 - path: Puzzles 30 type: folder 31 buildPhase: resources 32 info: 33 path: Crossmate/Info.plist 34 properties: 35 CFBundleDisplayName: Crossmate 36 CFBundleShortVersionString: "1.0.0" 37 CFBundleVersion: $(CURRENT_PROJECT_VERSION) 38 ITSAppUsesNonExemptEncryption: false 39 CADisableMinimumFrameDurationOnPhone: true 40 LSRequiresIPhoneOS: true 41 UIBackgroundModes: 42 - remote-notification 43 NSUbiquitousContainers: 44 iCloud.net.inqk.crossmate: 45 NSUbiquitousContainerIsDocumentScopePublic: true 46 NSUbiquitousContainerName: Crossmate 47 NSUbiquitousContainerSupportedFolderLevels: Any 48 UTImportedTypeDeclarations: 49 - UTTypeIdentifier: net.inqk.crossmate.xd 50 UTTypeDescription: Crossmate Puzzle 51 UTTypeConformsTo: 52 - public.plain-text 53 UTTypeTagSpecification: 54 public.filename-extension: 55 - xd 56 - UTTypeIdentifier: com.litsoft.puz 57 UTTypeDescription: Across Lite Puzzle 58 UTTypeConformsTo: 59 - public.data 60 UTTypeTagSpecification: 61 public.filename-extension: 62 - puz 63 CFBundleDocumentTypes: 64 - CFBundleTypeName: Crossmate Puzzle 65 LSHandlerRank: Owner 66 LSItemContentTypes: 67 - net.inqk.crossmate.xd 68 - com.litsoft.puz 69 CKSharingSupported: true 70 LSSupportsOpeningDocumentsInPlace: false 71 UILaunchScreen: {} 72 UISupportedInterfaceOrientations: 73 - UIInterfaceOrientationPortrait 74 - UIInterfaceOrientationPortraitUpsideDown 75 - UIInterfaceOrientationLandscapeLeft 76 - UIInterfaceOrientationLandscapeRight 77 settings: 78 PRODUCT_BUNDLE_IDENTIFIER: net.inqk.crossmate 79 INFOPLIST_FILE: Crossmate/Info.plist 80 CODE_SIGN_ENTITLEMENTS: Crossmate/Crossmate.entitlements 81 TARGETED_DEVICE_FAMILY: "1,2" 82 CODE_SIGN_STYLE: Automatic 83 84 Crossmate Unit Tests: 85 type: bundle.unit-test 86 platform: iOS 87 sources: 88 - Tests/Unit 89 - Tests/Support 90 dependencies: 91 - target: Crossmate 92 settings: 93 PRODUCT_BUNDLE_IDENTIFIER: net.inqk.crossmate.unittests 94 CODE_SIGN_STYLE: Automatic 95 TEST_HOST: $(BUILT_PRODUCTS_DIR)/Crossmate.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Crossmate 96 BUNDLE_LOADER: $(TEST_HOST) 97 GENERATE_INFOPLIST_FILE: YES 98 99 schemes: 100 Crossmate: 101 build: 102 targets: 103 Crossmate: all 104 preActions: 105 - script: | 106 cd "${SRCROOT}" 107 mkdir -p Generated 108 buildYear=`git log -1 --format=%cd --date=format:%Y` 109 buildVersion=`git rev-list HEAD | wc -l | tr -d ' '` 110 echo "CURRENT_PROJECT_VERSION = $buildYear.$buildVersion" > Generated/BuildNumber.xcconfig 111 settingsTarget: Crossmate 112 run: 113 config: Debug 114 test: 115 config: Debug 116 targets: 117 - name: Crossmate Unit Tests 118 parallelizable: true 119 randomExecutionOrder: true 120 profile: 121 config: Release 122 analyze: 123 config: Debug 124 archive: 125 config: Release