From bcb51332d1f87002aa886a81d80ed47e66b1b7b1 Mon Sep 17 00:00:00 2001 From: Vladimir Kaltyrin Date: Mon, 1 Apr 2024 19:53:58 +0300 Subject: [PATCH] feat(sdds-icore): added workflows to run SwiftLint and unit tests --- .github/workflows/build.yml | 7 +- .github/workflows/lint.yml | 23 + .github/workflows/test.yml | 29 + .swiftlint.yml | 6 +- SDDS.xcworkspace/contents.xcworkspacedata | 7 +- SDDSCore/SDDSCore.xcodeproj/project.pbxproj | 178 ++-- .../xcshareddata/xcschemes/SDDSCore.xcscheme | 79 ++ .../xcschemes/SDDSCoreTests.xcscheme | 54 ++ SDDSCore/SDDSCore/SDDSCore.h | 5 + SDDSCore/SDDSCoreTests/SDDSCoreTests.swift | 5 + .../SDDSDemoApp.xcodeproj/project.pbxproj | 6 +- SDDSDemoApp/SDDSDemoApp/SDDSDemoApp.swift | 2 +- SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/SDDSIcons.xcscheme | 79 ++ .../xcschemes/SDDSIconsTests.xcscheme | 54 ++ .../SDDSSwiftUI.xcodeproj/project.pbxproj | 2 +- .../xcschemes/SDDSSwiftUI.xcscheme | 79 ++ .../xcschemes/SDDSSwiftUITests.xcscheme | 54 ++ SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj | 2 +- .../xcschemes/SDDSUIKitTests.xcscheme | 54 ++ SddsCore-iosTests/plasma_iosTests.swift | 36 - SddsCore.xcodeproj/project.pbxproj | 853 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - SddsCore/SddsCore.docc/SddsCore.md | 13 - SddsCore/SddsCore.h | 18 - .../AccentColor.colorset/Contents.json | 11 - .../AppIcon.appiconset/Contents.json | 13 - SddsSandbox/Assets.xcassets/Contents.json | 6 - SddsSandbox/ContentView.swift | 24 - .../Preview Assets.xcassets/Contents.json | 6 - SddsSandbox/SddsSandboxApp.swift | 17 - SddsSandboxTests/SddsSandboxTests.swift | 36 - SddsSandboxUITests/SddsSandboxUITests.swift | 41 - .../SddsSandboxUITestsLaunchTests.swift | 32 - SddsSwiftUIKit/.gitignore | 8 - SddsSwiftUIKit/Package.swift | 23 - .../SddsSwiftUIKit/SddsSwiftUIKit.swift | 2 - .../SddsSwiftUIKitTests.swift | 12 - SddsThemeBuilder/.gitignore | 8 - SddsThemeBuilder/Package.swift | 23 - .../SddsThemeBuilder/SddsThemeBuilder.swift | 2 - .../SddsThemeBuilderTests.swift | 12 - SddsUIKitCore/.gitignore | 8 - SddsUIKitCore/Package.swift | 23 - .../Sources/SddsUIKitCore/SddsUIKitCore.swift | 2 - .../SddsUIKitCoreTests.swift | 12 - lint.sh | 2 +- scripts/build.sh | 6 +- scripts/test.sh | 32 + 50 files changed, 644 insertions(+), 1379 deletions(-) create mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/test.yml create mode 100644 SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCore.xcscheme create mode 100644 SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCoreTests.xcscheme create mode 100644 SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIcons.xcscheme create mode 100644 SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIconsTests.xcscheme create mode 100644 SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUI.xcscheme create mode 100644 SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUITests.xcscheme create mode 100644 SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKitTests.xcscheme delete mode 100644 SddsCore-iosTests/plasma_iosTests.swift delete mode 100644 SddsCore.xcodeproj/project.pbxproj delete mode 100644 SddsCore.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 SddsCore.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100755 SddsCore/SddsCore.docc/SddsCore.md delete mode 100644 SddsCore/SddsCore.h delete mode 100644 SddsSandbox/Assets.xcassets/AccentColor.colorset/Contents.json delete mode 100644 SddsSandbox/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 SddsSandbox/Assets.xcassets/Contents.json delete mode 100644 SddsSandbox/ContentView.swift delete mode 100644 SddsSandbox/Preview Content/Preview Assets.xcassets/Contents.json delete mode 100644 SddsSandbox/SddsSandboxApp.swift delete mode 100644 SddsSandboxTests/SddsSandboxTests.swift delete mode 100644 SddsSandboxUITests/SddsSandboxUITests.swift delete mode 100644 SddsSandboxUITests/SddsSandboxUITestsLaunchTests.swift delete mode 100644 SddsSwiftUIKit/.gitignore delete mode 100644 SddsSwiftUIKit/Package.swift delete mode 100644 SddsSwiftUIKit/Sources/SddsSwiftUIKit/SddsSwiftUIKit.swift delete mode 100644 SddsSwiftUIKit/Tests/SddsSwiftUIKitTests/SddsSwiftUIKitTests.swift delete mode 100644 SddsThemeBuilder/.gitignore delete mode 100644 SddsThemeBuilder/Package.swift delete mode 100644 SddsThemeBuilder/Sources/SddsThemeBuilder/SddsThemeBuilder.swift delete mode 100644 SddsThemeBuilder/Tests/SddsThemeBuilderTests/SddsThemeBuilderTests.swift delete mode 100644 SddsUIKitCore/.gitignore delete mode 100644 SddsUIKitCore/Package.swift delete mode 100644 SddsUIKitCore/Sources/SddsUIKitCore/SddsUIKitCore.swift delete mode 100644 SddsUIKitCore/Tests/SddsUIKitCoreTests/SddsUIKitCoreTests.swift create mode 100644 scripts/test.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91e707ed9..b40680149 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and Archive XCFrameworks +name: Build Debug / Build debug artifacts on: pull_request: @@ -36,7 +36,6 @@ jobs: # import certificate and provisioning profile from secrets echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH - echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH # create temporary keychain security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH @@ -48,10 +47,6 @@ jobs: security set-key-partition-list -S apple-tool:,apple: -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH security list-keychain -d user -s $KEYCHAIN_PATH - # apply provisioning profile - mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles - cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles - - name: Run build script run: | chmod +x ./scripts/build.sh diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..c2dac3624 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Code Quality Check / Perform static analysis + +on: + pull_request: + paths: + - '.github/workflows/lint.yml' + - '.swiftlint.yml' + - '**/*.swift' + +concurrency: + # New commit on branch cancels running workflows of the same branch + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +jobs: + SwiftLint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run SwiftLint + uses: norio-nomura/action-swiftlint@3.2.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..d13a9afe3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Code Quality Check / Perform Unit Testing + +on: + pull_request: + +concurrency: + # New commit on branch cancels running workflows of the same branch + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: macos-latest + environment: sdds + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest' + + - name: Run tests + run: | + chmod +x ./scripts/test.sh + ./scripts/test.sh + diff --git a/.swiftlint.yml b/.swiftlint.yml index 85a149ed6..2d2013f80 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -3,6 +3,8 @@ disabled_rules: # rule identifiers turned on by default to exclude from running - colon - comma - control_statement + - trailing_comma + - comment_spacing opt_in_rules: # some rules are turned off by default, so you need to opt-in - empty_count # find all the available rules by running: `swiftlint rules` @@ -27,7 +29,7 @@ force_try: severity: warning # explicitly # rules that have both warning and error levels, can set just the warning level # implicitly -line_length: 110 +line_length: 190 # they can set both implicitly with an array type_body_length: - 300 # warning @@ -47,7 +49,7 @@ type_name: allowed_symbols: ["_"] # these are allowed in type names identifier_name: min_length: # only min_length - error: 4 # only error + error: 3 # only error excluded: # excluded via string array - id - URL diff --git a/SDDS.xcworkspace/contents.xcworkspacedata b/SDDS.xcworkspace/contents.xcworkspacedata index 01d3b91fd..e5247ecf0 100644 --- a/SDDS.xcworkspace/contents.xcworkspacedata +++ b/SDDS.xcworkspace/contents.xcworkspacedata @@ -1,6 +1,9 @@ + + @@ -11,10 +14,10 @@ location = "group:SDDSSwiftUI/SDDSSwiftUI.xcodeproj"> + location = "group:SDDSDemoApp/SDDSDemoApp.xcodeproj"> + location = "group:.github/workflows"> diff --git a/SDDSCore/SDDSCore.xcodeproj/project.pbxproj b/SDDSCore/SDDSCore.xcodeproj/project.pbxproj index 5c7feb012..084a4030f 100644 --- a/SDDSCore/SDDSCore.xcodeproj/project.pbxproj +++ b/SDDSCore/SDDSCore.xcodeproj/project.pbxproj @@ -7,80 +7,80 @@ objects = { /* Begin PBXBuildFile section */ - 2430DE582BB5B50500277123 /* SDDSCore.docc in Sources */ = {isa = PBXBuildFile; fileRef = 2430DE572BB5B50500277123 /* SDDSCore.docc */; }; - 2430DE5E2BB5B50500277123 /* SDDSCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2430DE532BB5B50500277123 /* SDDSCore.framework */; }; - 2430DE632BB5B50500277123 /* SDDSCoreTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2430DE622BB5B50500277123 /* SDDSCoreTests.swift */; }; - 2430DE642BB5B50500277123 /* SDDSCore.h in Headers */ = {isa = PBXBuildFile; fileRef = 2430DE562BB5B50500277123 /* SDDSCore.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 242BF22C2BBB37B100E4D112 /* SDDSCore.docc in Sources */ = {isa = PBXBuildFile; fileRef = 242BF22B2BBB37B100E4D112 /* SDDSCore.docc */; }; + 242BF2322BBB37B100E4D112 /* SDDSCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 242BF2272BBB37B100E4D112 /* SDDSCore.framework */; }; + 242BF2372BBB37B100E4D112 /* SDDSCoreTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 242BF2362BBB37B100E4D112 /* SDDSCoreTests.swift */; }; + 242BF2382BBB37B100E4D112 /* SDDSCore.h in Headers */ = {isa = PBXBuildFile; fileRef = 242BF22A2BBB37B100E4D112 /* SDDSCore.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 2430DE5F2BB5B50500277123 /* PBXContainerItemProxy */ = { + 242BF2332BBB37B100E4D112 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = 2430DE4A2BB5B50500277123 /* Project object */; + containerPortal = 242BF21E2BBB37B100E4D112 /* Project object */; proxyType = 1; - remoteGlobalIDString = 2430DE522BB5B50500277123; + remoteGlobalIDString = 242BF2262BBB37B100E4D112; remoteInfo = SDDSCore; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 2430DE532BB5B50500277123 /* SDDSCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDDSCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2430DE562BB5B50500277123 /* SDDSCore.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDDSCore.h; sourceTree = ""; }; - 2430DE572BB5B50500277123 /* SDDSCore.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = SDDSCore.docc; sourceTree = ""; }; - 2430DE5D2BB5B50500277123 /* SDDSCoreTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SDDSCoreTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 2430DE622BB5B50500277123 /* SDDSCoreTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SDDSCoreTests.swift; sourceTree = ""; }; + 242BF2272BBB37B100E4D112 /* SDDSCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDDSCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 242BF22A2BBB37B100E4D112 /* SDDSCore.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDDSCore.h; sourceTree = ""; }; + 242BF22B2BBB37B100E4D112 /* SDDSCore.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = SDDSCore.docc; sourceTree = ""; }; + 242BF2312BBB37B100E4D112 /* SDDSCoreTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SDDSCoreTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 242BF2362BBB37B100E4D112 /* SDDSCoreTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SDDSCoreTests.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 2430DE502BB5B50500277123 /* Frameworks */ = { + 242BF2242BBB37B100E4D112 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 2430DE5A2BB5B50500277123 /* Frameworks */ = { + 242BF22E2BBB37B100E4D112 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 2430DE5E2BB5B50500277123 /* SDDSCore.framework in Frameworks */, + 242BF2322BBB37B100E4D112 /* SDDSCore.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 2430DE492BB5B50500277123 = { + 242BF21D2BBB37B100E4D112 = { isa = PBXGroup; children = ( - 2430DE552BB5B50500277123 /* SDDSCore */, - 2430DE612BB5B50500277123 /* SDDSCoreTests */, - 2430DE542BB5B50500277123 /* Products */, + 242BF2292BBB37B100E4D112 /* SDDSCore */, + 242BF2352BBB37B100E4D112 /* SDDSCoreTests */, + 242BF2282BBB37B100E4D112 /* Products */, ); sourceTree = ""; }; - 2430DE542BB5B50500277123 /* Products */ = { + 242BF2282BBB37B100E4D112 /* Products */ = { isa = PBXGroup; children = ( - 2430DE532BB5B50500277123 /* SDDSCore.framework */, - 2430DE5D2BB5B50500277123 /* SDDSCoreTests.xctest */, + 242BF2272BBB37B100E4D112 /* SDDSCore.framework */, + 242BF2312BBB37B100E4D112 /* SDDSCoreTests.xctest */, ); name = Products; sourceTree = ""; }; - 2430DE552BB5B50500277123 /* SDDSCore */ = { + 242BF2292BBB37B100E4D112 /* SDDSCore */ = { isa = PBXGroup; children = ( - 2430DE562BB5B50500277123 /* SDDSCore.h */, - 2430DE572BB5B50500277123 /* SDDSCore.docc */, + 242BF22A2BBB37B100E4D112 /* SDDSCore.h */, + 242BF22B2BBB37B100E4D112 /* SDDSCore.docc */, ); path = SDDSCore; sourceTree = ""; }; - 2430DE612BB5B50500277123 /* SDDSCoreTests */ = { + 242BF2352BBB37B100E4D112 /* SDDSCoreTests */ = { isa = PBXGroup; children = ( - 2430DE622BB5B50500277123 /* SDDSCoreTests.swift */, + 242BF2362BBB37B100E4D112 /* SDDSCoreTests.swift */, ); path = SDDSCoreTests; sourceTree = ""; @@ -88,26 +88,25 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 2430DE4E2BB5B50500277123 /* Headers */ = { + 242BF2222BBB37B100E4D112 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 2430DE642BB5B50500277123 /* SDDSCore.h in Headers */, + 242BF2382BBB37B100E4D112 /* SDDSCore.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 2430DE522BB5B50500277123 /* SDDSCore */ = { + 242BF2262BBB37B100E4D112 /* SDDSCore */ = { isa = PBXNativeTarget; - buildConfigurationList = 2430DE672BB5B50500277123 /* Build configuration list for PBXNativeTarget "SDDSCore" */; + buildConfigurationList = 242BF23B2BBB37B100E4D112 /* Build configuration list for PBXNativeTarget "SDDSCore" */; buildPhases = ( - 2430DE4E2BB5B50500277123 /* Headers */, - 2430DE4F2BB5B50500277123 /* Sources */, - 2430DE502BB5B50500277123 /* Frameworks */, - 2430DE512BB5B50500277123 /* Resources */, - 2430DEE92BB6B32700277123 /* Lint */, + 242BF2222BBB37B100E4D112 /* Headers */, + 242BF2232BBB37B100E4D112 /* Sources */, + 242BF2242BBB37B100E4D112 /* Frameworks */, + 242BF2252BBB37B100E4D112 /* Resources */, ); buildRules = ( ); @@ -115,46 +114,46 @@ ); name = SDDSCore; productName = SDDSCore; - productReference = 2430DE532BB5B50500277123 /* SDDSCore.framework */; + productReference = 242BF2272BBB37B100E4D112 /* SDDSCore.framework */; productType = "com.apple.product-type.framework"; }; - 2430DE5C2BB5B50500277123 /* SDDSCoreTests */ = { + 242BF2302BBB37B100E4D112 /* SDDSCoreTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 2430DE6A2BB5B50500277123 /* Build configuration list for PBXNativeTarget "SDDSCoreTests" */; + buildConfigurationList = 242BF23E2BBB37B100E4D112 /* Build configuration list for PBXNativeTarget "SDDSCoreTests" */; buildPhases = ( - 2430DE592BB5B50500277123 /* Sources */, - 2430DE5A2BB5B50500277123 /* Frameworks */, - 2430DE5B2BB5B50500277123 /* Resources */, + 242BF22D2BBB37B100E4D112 /* Sources */, + 242BF22E2BBB37B100E4D112 /* Frameworks */, + 242BF22F2BBB37B100E4D112 /* Resources */, ); buildRules = ( ); dependencies = ( - 2430DE602BB5B50500277123 /* PBXTargetDependency */, + 242BF2342BBB37B100E4D112 /* PBXTargetDependency */, ); name = SDDSCoreTests; productName = SDDSCoreTests; - productReference = 2430DE5D2BB5B50500277123 /* SDDSCoreTests.xctest */; + productReference = 242BF2312BBB37B100E4D112 /* SDDSCoreTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - 2430DE4A2BB5B50500277123 /* Project object */ = { + 242BF21E2BBB37B100E4D112 /* Project object */ = { isa = PBXProject; attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1520; LastUpgradeCheck = 1520; TargetAttributes = { - 2430DE522BB5B50500277123 = { + 242BF2262BBB37B100E4D112 = { CreatedOnToolsVersion = 15.2; }; - 2430DE5C2BB5B50500277123 = { + 242BF2302BBB37B100E4D112 = { CreatedOnToolsVersion = 15.2; }; }; }; - buildConfigurationList = 2430DE4D2BB5B50500277123 /* Build configuration list for PBXProject "SDDSCore" */; + buildConfigurationList = 242BF2212BBB37B100E4D112 /* Build configuration list for PBXProject "SDDSCore" */; compatibilityVersion = "Xcode 14.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -162,26 +161,26 @@ en, Base, ); - mainGroup = 2430DE492BB5B50500277123; - productRefGroup = 2430DE542BB5B50500277123 /* Products */; + mainGroup = 242BF21D2BBB37B100E4D112; + productRefGroup = 242BF2282BBB37B100E4D112 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 2430DE522BB5B50500277123 /* SDDSCore */, - 2430DE5C2BB5B50500277123 /* SDDSCoreTests */, + 242BF2262BBB37B100E4D112 /* SDDSCore */, + 242BF2302BBB37B100E4D112 /* SDDSCoreTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 2430DE512BB5B50500277123 /* Resources */ = { + 242BF2252BBB37B100E4D112 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 2430DE5B2BB5B50500277123 /* Resources */ = { + 242BF22F2BBB37B100E4D112 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -190,56 +189,35 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 2430DEE92BB6B32700277123 /* Lint */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - name = Lint; - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"${SRCROOT}/../lint.sh\"\n"; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ - 2430DE4F2BB5B50500277123 /* Sources */ = { + 242BF2232BBB37B100E4D112 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2430DE582BB5B50500277123 /* SDDSCore.docc in Sources */, + 242BF22C2BBB37B100E4D112 /* SDDSCore.docc in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 2430DE592BB5B50500277123 /* Sources */ = { + 242BF22D2BBB37B100E4D112 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2430DE632BB5B50500277123 /* SDDSCoreTests.swift in Sources */, + 242BF2372BBB37B100E4D112 /* SDDSCoreTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 2430DE602BB5B50500277123 /* PBXTargetDependency */ = { + 242BF2342BBB37B100E4D112 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 2430DE522BB5B50500277123 /* SDDSCore */; - targetProxy = 2430DE5F2BB5B50500277123 /* PBXContainerItemProxy */; + target = 242BF2262BBB37B100E4D112 /* SDDSCore */; + targetProxy = 242BF2332BBB37B100E4D112 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 2430DE652BB5B50500277123 /* Debug */ = { + 242BF2392BBB37B100E4D112 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -278,7 +256,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -306,7 +284,7 @@ }; name = Debug; }; - 2430DE662BB5B50500277123 /* Release */ = { + 242BF23A2BBB37B100E4D112 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -345,7 +323,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -366,7 +344,7 @@ }; name = Release; }; - 2430DE682BB5B50500277123 /* Debug */ = { + 242BF23C2BBB37B100E4D112 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; @@ -401,7 +379,7 @@ }; name = Debug; }; - 2430DE692BB5B50500277123 /* Release */ = { + 242BF23D2BBB37B100E4D112 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; @@ -436,7 +414,7 @@ }; name = Release; }; - 2430DE6B2BB5B50500277123 /* Debug */ = { + 242BF23F2BBB37B100E4D112 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; @@ -456,7 +434,7 @@ }; name = Debug; }; - 2430DE6C2BB5B50500277123 /* Release */ = { + 242BF2402BBB37B100E4D112 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; @@ -479,34 +457,34 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 2430DE4D2BB5B50500277123 /* Build configuration list for PBXProject "SDDSCore" */ = { + 242BF2212BBB37B100E4D112 /* Build configuration list for PBXProject "SDDSCore" */ = { isa = XCConfigurationList; buildConfigurations = ( - 2430DE652BB5B50500277123 /* Debug */, - 2430DE662BB5B50500277123 /* Release */, + 242BF2392BBB37B100E4D112 /* Debug */, + 242BF23A2BBB37B100E4D112 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2430DE672BB5B50500277123 /* Build configuration list for PBXNativeTarget "SDDSCore" */ = { + 242BF23B2BBB37B100E4D112 /* Build configuration list for PBXNativeTarget "SDDSCore" */ = { isa = XCConfigurationList; buildConfigurations = ( - 2430DE682BB5B50500277123 /* Debug */, - 2430DE692BB5B50500277123 /* Release */, + 242BF23C2BBB37B100E4D112 /* Debug */, + 242BF23D2BBB37B100E4D112 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2430DE6A2BB5B50500277123 /* Build configuration list for PBXNativeTarget "SDDSCoreTests" */ = { + 242BF23E2BBB37B100E4D112 /* Build configuration list for PBXNativeTarget "SDDSCoreTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - 2430DE6B2BB5B50500277123 /* Debug */, - 2430DE6C2BB5B50500277123 /* Release */, + 242BF23F2BBB37B100E4D112 /* Debug */, + 242BF2402BBB37B100E4D112 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = 2430DE4A2BB5B50500277123 /* Project object */; + rootObject = 242BF21E2BBB37B100E4D112 /* Project object */; } diff --git a/SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCore.xcscheme b/SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCore.xcscheme new file mode 100644 index 000000000..197bae22b --- /dev/null +++ b/SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCore.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCoreTests.xcscheme b/SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCoreTests.xcscheme new file mode 100644 index 000000000..8215aadec --- /dev/null +++ b/SDDSCore/SDDSCore.xcodeproj/xcshareddata/xcschemes/SDDSCoreTests.xcscheme @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/SDDSCore/SDDSCore/SDDSCore.h b/SDDSCore/SDDSCore/SDDSCore.h index a9513a26e..37a5d7fd0 100644 --- a/SDDSCore/SDDSCore/SDDSCore.h +++ b/SDDSCore/SDDSCore/SDDSCore.h @@ -1,3 +1,8 @@ +// +// Created by Калтырин Владимир Александрович on 01.04.2024. +// Copyright © 2024 Sberbank. All rights reserved. +// + #import //! Project version number for SDDSCore. diff --git a/SDDSCore/SDDSCoreTests/SDDSCoreTests.swift b/SDDSCore/SDDSCoreTests/SDDSCoreTests.swift index f71434202..ef2ff2152 100644 --- a/SDDSCore/SDDSCoreTests/SDDSCoreTests.swift +++ b/SDDSCore/SDDSCoreTests/SDDSCoreTests.swift @@ -1,3 +1,8 @@ +// +// Created by Калтырин Владимир Александрович on 01.04.2024. +// Copyright © 2024 Sberbank. All rights reserved. +// + import XCTest @testable import SDDSCore diff --git a/SDDSDemoApp/SDDSDemoApp.xcodeproj/project.pbxproj b/SDDSDemoApp/SDDSDemoApp.xcodeproj/project.pbxproj index 5f9a257b1..ed7d75b51 100644 --- a/SDDSDemoApp/SDDSDemoApp.xcodeproj/project.pbxproj +++ b/SDDSDemoApp/SDDSDemoApp.xcodeproj/project.pbxproj @@ -7,8 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 2430DEDE2BB5CE5100277123 /* SDDSCore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2430DEDA2BB5CE5100277123 /* SDDSCore.xcframework */; }; - 2430DEDF2BB5CE5100277123 /* SDDSCore.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 2430DEDA2BB5CE5100277123 /* SDDSCore.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 2430DEE02BB5CE5100277123 /* SDDSIcons.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2430DEDB2BB5CE5100277123 /* SDDSIcons.xcframework */; }; 2430DEE12BB5CE5100277123 /* SDDSIcons.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 2430DEDB2BB5CE5100277123 /* SDDSIcons.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 2430DEE22BB5CE5100277123 /* SDDSSwiftUI.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2430DEDC2BB5CE5100277123 /* SDDSSwiftUI.xcframework */; }; @@ -50,7 +48,6 @@ files = ( 2430DEE52BB5CE5100277123 /* SDDSUIKit.xcframework in Embed Frameworks */, 2430DEE12BB5CE5100277123 /* SDDSIcons.xcframework in Embed Frameworks */, - 2430DEDF2BB5CE5100277123 /* SDDSCore.xcframework in Embed Frameworks */, 2430DEE32BB5CE5100277123 /* SDDSSwiftUI.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; @@ -82,7 +79,6 @@ files = ( 2430DEE42BB5CE5100277123 /* SDDSUIKit.xcframework in Frameworks */, 2430DEE02BB5CE5100277123 /* SDDSIcons.xcframework in Frameworks */, - 2430DEDE2BB5CE5100277123 /* SDDSCore.xcframework in Frameworks */, 2430DEE22BB5CE5100277123 /* SDDSSwiftUI.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -316,7 +312,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"${SRCROOT}/../lint.sh\"\n"; + shellScript = "if [ \"$SKIP_LINT\" == \"YES\" ]; then\n echo \"Skipping Lint...\"\n exit 0\nfi\n\n/bin/sh \"${SRCROOT}/../lint.sh\"\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/SDDSDemoApp/SDDSDemoApp/SDDSDemoApp.swift b/SDDSDemoApp/SDDSDemoApp/SDDSDemoApp.swift index 0b92b2485..a1b8edefe 100644 --- a/SDDSDemoApp/SDDSDemoApp/SDDSDemoApp.swift +++ b/SDDSDemoApp/SDDSDemoApp/SDDSDemoApp.swift @@ -1,5 +1,5 @@ import SwiftUI -import SDDSCore +//import SDDSCore import SDDSUIKit import SDDSSwiftUI import SDDSIcons diff --git a/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj b/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj index 06922c2d4..1ce4dc747 100644 --- a/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj +++ b/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj @@ -207,7 +207,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"${SRCROOT}/../lint.sh\"\n"; + shellScript = "if [ \"$SKIP_LINT\" == \"YES\" ]; then\n echo \"Skipping Lint...\"\n exit 0\nfi\n\n/bin/sh \"${SRCROOT}/../lint.sh\"\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIcons.xcscheme b/SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIcons.xcscheme new file mode 100644 index 000000000..f0ca64ef8 --- /dev/null +++ b/SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIcons.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIconsTests.xcscheme b/SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIconsTests.xcscheme new file mode 100644 index 000000000..4b1a9e766 --- /dev/null +++ b/SDDSIcons/SDDSIcons.xcodeproj/xcshareddata/xcschemes/SDDSIconsTests.xcscheme @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj index 504be000a..8a66c0819 100644 --- a/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj +++ b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj @@ -207,7 +207,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"${SRCROOT}/../lint.sh\"\n"; + shellScript = "if [ \"$SKIP_LINT\" == \"YES\" ]; then\n echo \"Skipping Lint...\"\n exit 0\nfi\n\n/bin/sh \"${SRCROOT}/../lint.sh\"\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUI.xcscheme b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUI.xcscheme new file mode 100644 index 000000000..6faa9810e --- /dev/null +++ b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUI.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUITests.xcscheme b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUITests.xcscheme new file mode 100644 index 000000000..7008e8c33 --- /dev/null +++ b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/xcshareddata/xcschemes/SDDSSwiftUITests.xcscheme @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj b/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj index 71ee85668..6f175553c 100644 --- a/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj +++ b/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj @@ -207,7 +207,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"${SRCROOT}/../lint.sh\"\n"; + shellScript = "if [ \"$SKIP_LINT\" == \"YES\" ]; then\n echo \"Skipping Lint...\"\n exit 0\nfi\n\n/bin/sh \"${SRCROOT}/../lint.sh\"\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKitTests.xcscheme b/SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKitTests.xcscheme new file mode 100644 index 000000000..2ad762d97 --- /dev/null +++ b/SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKitTests.xcscheme @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/SddsCore-iosTests/plasma_iosTests.swift b/SddsCore-iosTests/plasma_iosTests.swift deleted file mode 100644 index 7916b1c7f..000000000 --- a/SddsCore-iosTests/plasma_iosTests.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// plasma_iosTests.swift -// plasma-iosTests -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -import XCTest -@testable import plasma_ios - -final class plasma_iosTests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. - // Any test you write for XCTest can be annotated as throws and async. - // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. - // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. - } - - func testPerformanceExample() throws { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } - } - -} diff --git a/SddsCore.xcodeproj/project.pbxproj b/SddsCore.xcodeproj/project.pbxproj deleted file mode 100644 index d6b71bf29..000000000 --- a/SddsCore.xcodeproj/project.pbxproj +++ /dev/null @@ -1,853 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 56; - objects = { - -/* Begin PBXBuildFile section */ - 24C1774A2BAC591100753497 /* SddsCore.docc in Sources */ = {isa = PBXBuildFile; fileRef = 24C177492BAC591100753497 /* SddsCore.docc */; }; - 24C177502BAC591100753497 /* SddsCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24C177452BAC591100753497 /* SddsCore.framework */; }; - 24C177552BAC591100753497 /* plasma_iosTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C177542BAC591100753497 /* plasma_iosTests.swift */; }; - 24C177562BAC591100753497 /* SddsCore.h in Headers */ = {isa = PBXBuildFile; fileRef = 24C177482BAC591100753497 /* SddsCore.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 24C177992BAC5B9100753497 /* SddsSandboxApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C177982BAC5B9100753497 /* SddsSandboxApp.swift */; }; - 24C1779B2BAC5B9100753497 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C1779A2BAC5B9100753497 /* ContentView.swift */; }; - 24C1779D2BAC5B9200753497 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 24C1779C2BAC5B9200753497 /* Assets.xcassets */; }; - 24C177A02BAC5B9200753497 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 24C1779F2BAC5B9200753497 /* Preview Assets.xcassets */; }; - 24C177AA2BAC5B9300753497 /* SddsSandboxTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C177A92BAC5B9300753497 /* SddsSandboxTests.swift */; }; - 24C177B42BAC5B9300753497 /* SddsSandboxUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C177B32BAC5B9300753497 /* SddsSandboxUITests.swift */; }; - 24C177B62BAC5B9300753497 /* SddsSandboxUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C177B52BAC5B9300753497 /* SddsSandboxUITestsLaunchTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 24C177512BAC591100753497 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 24C1773C2BAC591100753497 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 24C177442BAC591100753497; - remoteInfo = "plasma-ios"; - }; - 24C177A62BAC5B9300753497 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 24C1773C2BAC591100753497 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 24C177952BAC5B9100753497; - remoteInfo = SddsSandbox; - }; - 24C177B02BAC5B9300753497 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 24C1773C2BAC591100753497 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 24C177952BAC5B9100753497; - remoteInfo = SddsSandbox; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 24C177452BAC591100753497 /* SddsCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SddsCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 24C177482BAC591100753497 /* SddsCore.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SddsCore.h; sourceTree = ""; }; - 24C177492BAC591100753497 /* SddsCore.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = SddsCore.docc; sourceTree = ""; }; - 24C1774F2BAC591100753497 /* SddsCoreTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SddsCoreTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 24C177542BAC591100753497 /* plasma_iosTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = plasma_iosTests.swift; sourceTree = ""; }; - 24C1775F2BAC597500753497 /* SddsUIKitCore */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SddsUIKitCore; sourceTree = ""; }; - 24C177602BAC59AB00753497 /* SddsUIKit */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SddsUIKit; sourceTree = ""; }; - 24C177612BAC59D200753497 /* SddsSwiftUIKit */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SddsSwiftUIKit; sourceTree = ""; }; - 24C177622BAC59F500753497 /* SddsIcons */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SddsIcons; sourceTree = ""; }; - 24C177632BAC5A1400753497 /* SddsThemeBuilder */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SddsThemeBuilder; sourceTree = ""; }; - 24C177962BAC5B9100753497 /* SddsSandbox.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SddsSandbox.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 24C177982BAC5B9100753497 /* SddsSandboxApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SddsSandboxApp.swift; sourceTree = ""; }; - 24C1779A2BAC5B9100753497 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; - 24C1779C2BAC5B9200753497 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 24C1779F2BAC5B9200753497 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - 24C177A52BAC5B9300753497 /* SddsSandboxTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SddsSandboxTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 24C177A92BAC5B9300753497 /* SddsSandboxTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SddsSandboxTests.swift; sourceTree = ""; }; - 24C177AF2BAC5B9300753497 /* SddsSandboxUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SddsSandboxUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 24C177B32BAC5B9300753497 /* SddsSandboxUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SddsSandboxUITests.swift; sourceTree = ""; }; - 24C177B52BAC5B9300753497 /* SddsSandboxUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SddsSandboxUITestsLaunchTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 24C177422BAC591100753497 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C1774C2BAC591100753497 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C177502BAC591100753497 /* SddsCore.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177932BAC5B9100753497 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177A22BAC5B9300753497 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177AC2BAC5B9300753497 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 24C1773B2BAC591100753497 = { - isa = PBXGroup; - children = ( - 24C177632BAC5A1400753497 /* SddsThemeBuilder */, - 24C177622BAC59F500753497 /* SddsIcons */, - 24C177612BAC59D200753497 /* SddsSwiftUIKit */, - 24C177602BAC59AB00753497 /* SddsUIKit */, - 24C1775F2BAC597500753497 /* SddsUIKitCore */, - 24C177472BAC591100753497 /* SddsCore */, - 24C177532BAC591100753497 /* SddsCore-iosTests */, - 24C177972BAC5B9100753497 /* SddsSandbox */, - 24C177A82BAC5B9300753497 /* SddsSandboxTests */, - 24C177B22BAC5B9300753497 /* SddsSandboxUITests */, - 24C177462BAC591100753497 /* Products */, - ); - sourceTree = ""; - }; - 24C177462BAC591100753497 /* Products */ = { - isa = PBXGroup; - children = ( - 24C177452BAC591100753497 /* SddsCore.framework */, - 24C1774F2BAC591100753497 /* SddsCoreTests.xctest */, - 24C177962BAC5B9100753497 /* SddsSandbox.app */, - 24C177A52BAC5B9300753497 /* SddsSandboxTests.xctest */, - 24C177AF2BAC5B9300753497 /* SddsSandboxUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 24C177472BAC591100753497 /* SddsCore */ = { - isa = PBXGroup; - children = ( - 24C177482BAC591100753497 /* SddsCore.h */, - 24C177492BAC591100753497 /* SddsCore.docc */, - ); - path = SddsCore; - sourceTree = ""; - }; - 24C177532BAC591100753497 /* SddsCore-iosTests */ = { - isa = PBXGroup; - children = ( - 24C177542BAC591100753497 /* plasma_iosTests.swift */, - ); - path = "SddsCore-iosTests"; - sourceTree = ""; - }; - 24C177972BAC5B9100753497 /* SddsSandbox */ = { - isa = PBXGroup; - children = ( - 24C177982BAC5B9100753497 /* SddsSandboxApp.swift */, - 24C1779A2BAC5B9100753497 /* ContentView.swift */, - 24C1779C2BAC5B9200753497 /* Assets.xcassets */, - 24C1779E2BAC5B9200753497 /* Preview Content */, - ); - path = SddsSandbox; - sourceTree = ""; - }; - 24C1779E2BAC5B9200753497 /* Preview Content */ = { - isa = PBXGroup; - children = ( - 24C1779F2BAC5B9200753497 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = ""; - }; - 24C177A82BAC5B9300753497 /* SddsSandboxTests */ = { - isa = PBXGroup; - children = ( - 24C177A92BAC5B9300753497 /* SddsSandboxTests.swift */, - ); - path = SddsSandboxTests; - sourceTree = ""; - }; - 24C177B22BAC5B9300753497 /* SddsSandboxUITests */ = { - isa = PBXGroup; - children = ( - 24C177B32BAC5B9300753497 /* SddsSandboxUITests.swift */, - 24C177B52BAC5B9300753497 /* SddsSandboxUITestsLaunchTests.swift */, - ); - path = SddsSandboxUITests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 24C177402BAC591100753497 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C177562BAC591100753497 /* SddsCore.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 24C177442BAC591100753497 /* SddsCore */ = { - isa = PBXNativeTarget; - buildConfigurationList = 24C177592BAC591100753497 /* Build configuration list for PBXNativeTarget "SddsCore" */; - buildPhases = ( - 24C177402BAC591100753497 /* Headers */, - 24C177412BAC591100753497 /* Sources */, - 24C177422BAC591100753497 /* Frameworks */, - 24C177432BAC591100753497 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SddsCore; - productName = "plasma-ios"; - productReference = 24C177452BAC591100753497 /* SddsCore.framework */; - productType = "com.apple.product-type.framework"; - }; - 24C1774E2BAC591100753497 /* SddsCoreTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 24C1775C2BAC591100753497 /* Build configuration list for PBXNativeTarget "SddsCoreTests" */; - buildPhases = ( - 24C1774B2BAC591100753497 /* Sources */, - 24C1774C2BAC591100753497 /* Frameworks */, - 24C1774D2BAC591100753497 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 24C177522BAC591100753497 /* PBXTargetDependency */, - ); - name = SddsCoreTests; - productName = "plasma-iosTests"; - productReference = 24C1774F2BAC591100753497 /* SddsCoreTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 24C177952BAC5B9100753497 /* SddsSandbox */ = { - isa = PBXNativeTarget; - buildConfigurationList = 24C177B72BAC5B9300753497 /* Build configuration list for PBXNativeTarget "SddsSandbox" */; - buildPhases = ( - 24C177922BAC5B9100753497 /* Sources */, - 24C177932BAC5B9100753497 /* Frameworks */, - 24C177942BAC5B9100753497 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = SddsSandbox; - productName = SddsSandbox; - productReference = 24C177962BAC5B9100753497 /* SddsSandbox.app */; - productType = "com.apple.product-type.application"; - }; - 24C177A42BAC5B9300753497 /* SddsSandboxTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 24C177BA2BAC5B9300753497 /* Build configuration list for PBXNativeTarget "SddsSandboxTests" */; - buildPhases = ( - 24C177A12BAC5B9300753497 /* Sources */, - 24C177A22BAC5B9300753497 /* Frameworks */, - 24C177A32BAC5B9300753497 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 24C177A72BAC5B9300753497 /* PBXTargetDependency */, - ); - name = SddsSandboxTests; - productName = SddsSandboxTests; - productReference = 24C177A52BAC5B9300753497 /* SddsSandboxTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 24C177AE2BAC5B9300753497 /* SddsSandboxUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 24C177BD2BAC5B9300753497 /* Build configuration list for PBXNativeTarget "SddsSandboxUITests" */; - buildPhases = ( - 24C177AB2BAC5B9300753497 /* Sources */, - 24C177AC2BAC5B9300753497 /* Frameworks */, - 24C177AD2BAC5B9300753497 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 24C177B12BAC5B9300753497 /* PBXTargetDependency */, - ); - name = SddsSandboxUITests; - productName = SddsSandboxUITests; - productReference = 24C177AF2BAC5B9300753497 /* SddsSandboxUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 24C1773C2BAC591100753497 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1520; - LastUpgradeCheck = 1520; - TargetAttributes = { - 24C177442BAC591100753497 = { - CreatedOnToolsVersion = 15.2; - }; - 24C1774E2BAC591100753497 = { - CreatedOnToolsVersion = 15.2; - }; - 24C177952BAC5B9100753497 = { - CreatedOnToolsVersion = 15.2; - }; - 24C177A42BAC5B9300753497 = { - CreatedOnToolsVersion = 15.2; - TestTargetID = 24C177952BAC5B9100753497; - }; - 24C177AE2BAC5B9300753497 = { - CreatedOnToolsVersion = 15.2; - TestTargetID = 24C177952BAC5B9100753497; - }; - }; - }; - buildConfigurationList = 24C1773F2BAC591100753497 /* Build configuration list for PBXProject "SddsCore" */; - compatibilityVersion = "Xcode 14.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 24C1773B2BAC591100753497; - productRefGroup = 24C177462BAC591100753497 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 24C177442BAC591100753497 /* SddsCore */, - 24C1774E2BAC591100753497 /* SddsCoreTests */, - 24C177952BAC5B9100753497 /* SddsSandbox */, - 24C177A42BAC5B9300753497 /* SddsSandboxTests */, - 24C177AE2BAC5B9300753497 /* SddsSandboxUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 24C177432BAC591100753497 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C1774D2BAC591100753497 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177942BAC5B9100753497 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C177A02BAC5B9200753497 /* Preview Assets.xcassets in Resources */, - 24C1779D2BAC5B9200753497 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177A32BAC5B9300753497 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177AD2BAC5B9300753497 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 24C177412BAC591100753497 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C1774A2BAC591100753497 /* SddsCore.docc in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C1774B2BAC591100753497 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C177552BAC591100753497 /* plasma_iosTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177922BAC5B9100753497 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C1779B2BAC5B9100753497 /* ContentView.swift in Sources */, - 24C177992BAC5B9100753497 /* SddsSandboxApp.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177A12BAC5B9300753497 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C177AA2BAC5B9300753497 /* SddsSandboxTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 24C177AB2BAC5B9300753497 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 24C177B62BAC5B9300753497 /* SddsSandboxUITestsLaunchTests.swift in Sources */, - 24C177B42BAC5B9300753497 /* SddsSandboxUITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 24C177522BAC591100753497 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 24C177442BAC591100753497 /* SddsCore */; - targetProxy = 24C177512BAC591100753497 /* PBXContainerItemProxy */; - }; - 24C177A72BAC5B9300753497 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 24C177952BAC5B9100753497 /* SddsSandbox */; - targetProxy = 24C177A62BAC5B9300753497 /* PBXContainerItemProxy */; - }; - 24C177B12BAC5B9300753497 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 24C177952BAC5B9100753497 /* SddsSandbox */; - targetProxy = 24C177B02BAC5B9300753497 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 24C177572BAC591100753497 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 24C177582BAC591100753497 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 24C1775A2BAC591100753497 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_MODULE_VERIFIER = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; - MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; - PRODUCT_BUNDLE_IDENTIFIER = "ru.sberdevices.plasma-ios"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 24C1775B2BAC591100753497 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_MODULE_VERIFIER = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_NSHumanReadableCopyright = ""; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; - MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; - PRODUCT_BUNDLE_IDENTIFIER = "ru.sberdevices.plasma-ios"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 24C1775D2BAC591100753497 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "ru.sberdevices.plasma-iosTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 24C1775E2BAC591100753497 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "ru.sberdevices.plasma-iosTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 24C177B82BAC5B9300753497 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"SddsSandbox/Preview Content\""; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = ru.sberdevices.SddsSandbox; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 24C177B92BAC5B9300753497 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"SddsSandbox/Preview Content\""; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = ru.sberdevices.SddsSandbox; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 24C177BB2BAC5B9300753497 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.2; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = ru.sberdevices.SddsSandboxTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SddsSandbox.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/SddsSandbox"; - }; - name = Debug; - }; - 24C177BC2BAC5B9300753497 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.2; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = ru.sberdevices.SddsSandboxTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SddsSandbox.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/SddsSandbox"; - }; - name = Release; - }; - 24C177BE2BAC5B9300753497 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = ru.sberdevices.SddsSandboxUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = SddsSandbox; - }; - name = Debug; - }; - 24C177BF2BAC5B9300753497 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = ru.sberdevices.SddsSandboxUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = SddsSandbox; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 24C1773F2BAC591100753497 /* Build configuration list for PBXProject "SddsCore" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 24C177572BAC591100753497 /* Debug */, - 24C177582BAC591100753497 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 24C177592BAC591100753497 /* Build configuration list for PBXNativeTarget "SddsCore" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 24C1775A2BAC591100753497 /* Debug */, - 24C1775B2BAC591100753497 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 24C1775C2BAC591100753497 /* Build configuration list for PBXNativeTarget "SddsCoreTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 24C1775D2BAC591100753497 /* Debug */, - 24C1775E2BAC591100753497 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 24C177B72BAC5B9300753497 /* Build configuration list for PBXNativeTarget "SddsSandbox" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 24C177B82BAC5B9300753497 /* Debug */, - 24C177B92BAC5B9300753497 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 24C177BA2BAC5B9300753497 /* Build configuration list for PBXNativeTarget "SddsSandboxTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 24C177BB2BAC5B9300753497 /* Debug */, - 24C177BC2BAC5B9300753497 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 24C177BD2BAC5B9300753497 /* Build configuration list for PBXNativeTarget "SddsSandboxUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 24C177BE2BAC5B9300753497 /* Debug */, - 24C177BF2BAC5B9300753497 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 24C1773C2BAC591100753497 /* Project object */; -} diff --git a/SddsCore.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SddsCore.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 45f757703..000000000 --- a/SddsCore.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/SddsCore.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SddsCore.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003..000000000 --- a/SddsCore.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/SddsCore/SddsCore.docc/SddsCore.md b/SddsCore/SddsCore.docc/SddsCore.md deleted file mode 100755 index c9940019f..000000000 --- a/SddsCore/SddsCore.docc/SddsCore.md +++ /dev/null @@ -1,13 +0,0 @@ -# ``plasma_ios`` - -Summary - -## Overview - -Text - -## Topics - -### Group - -- ``Symbol`` \ No newline at end of file diff --git a/SddsCore/SddsCore.h b/SddsCore/SddsCore.h deleted file mode 100644 index 9480059c5..000000000 --- a/SddsCore/SddsCore.h +++ /dev/null @@ -1,18 +0,0 @@ -// -// plasma_ios.h -// plasma-ios -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -#import - -//! Project version number for plasma_ios. -FOUNDATION_EXPORT double plasma_iosVersionNumber; - -//! Project version string for plasma_ios. -FOUNDATION_EXPORT const unsigned char plasma_iosVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/SddsSandbox/Assets.xcassets/AccentColor.colorset/Contents.json b/SddsSandbox/Assets.xcassets/AccentColor.colorset/Contents.json deleted file mode 100644 index eb8789700..000000000 --- a/SddsSandbox/Assets.xcassets/AccentColor.colorset/Contents.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "colors" : [ - { - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/SddsSandbox/Assets.xcassets/AppIcon.appiconset/Contents.json b/SddsSandbox/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 13613e3ee..000000000 --- a/SddsSandbox/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/SddsSandbox/Assets.xcassets/Contents.json b/SddsSandbox/Assets.xcassets/Contents.json deleted file mode 100644 index 73c00596a..000000000 --- a/SddsSandbox/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/SddsSandbox/ContentView.swift b/SddsSandbox/ContentView.swift deleted file mode 100644 index e7f7c51f9..000000000 --- a/SddsSandbox/ContentView.swift +++ /dev/null @@ -1,24 +0,0 @@ -// -// ContentView.swift -// SddsSandbox -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -import SwiftUI - -struct ContentView: View { - var body: some View { - VStack { - Image(systemName: "globe") - .imageScale(.large) - .foregroundStyle(.tint) - Text("Hello, world!") - } - .padding() - } -} - -#Preview { - ContentView() -} diff --git a/SddsSandbox/Preview Content/Preview Assets.xcassets/Contents.json b/SddsSandbox/Preview Content/Preview Assets.xcassets/Contents.json deleted file mode 100644 index 73c00596a..000000000 --- a/SddsSandbox/Preview Content/Preview Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/SddsSandbox/SddsSandboxApp.swift b/SddsSandbox/SddsSandboxApp.swift deleted file mode 100644 index fbc6df4c6..000000000 --- a/SddsSandbox/SddsSandboxApp.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// SddsSandboxApp.swift -// SddsSandbox -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -import SwiftUI - -@main -struct SddsSandboxApp: App { - var body: some Scene { - WindowGroup { - ContentView() - } - } -} diff --git a/SddsSandboxTests/SddsSandboxTests.swift b/SddsSandboxTests/SddsSandboxTests.swift deleted file mode 100644 index 8552f2d7e..000000000 --- a/SddsSandboxTests/SddsSandboxTests.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// SddsSandboxTests.swift -// SddsSandboxTests -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -import XCTest -@testable import SddsSandbox - -final class SddsSandboxTests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. - // Any test you write for XCTest can be annotated as throws and async. - // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. - // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. - } - - func testPerformanceExample() throws { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } - } - -} diff --git a/SddsSandboxUITests/SddsSandboxUITests.swift b/SddsSandboxUITests/SddsSandboxUITests.swift deleted file mode 100644 index 9d769b1bc..000000000 --- a/SddsSandboxUITests/SddsSandboxUITests.swift +++ /dev/null @@ -1,41 +0,0 @@ -// -// SddsSandboxUITests.swift -// SddsSandboxUITests -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -import XCTest - -final class SddsSandboxUITests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - continueAfterFailure = false - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // UI tests must launch the application that they test. - let app = XCUIApplication() - app.launch() - - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - - func testLaunchPerformance() throws { - if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { - // This measures how long it takes to launch your application. - measure(metrics: [XCTApplicationLaunchMetric()]) { - XCUIApplication().launch() - } - } - } -} diff --git a/SddsSandboxUITests/SddsSandboxUITestsLaunchTests.swift b/SddsSandboxUITests/SddsSandboxUITestsLaunchTests.swift deleted file mode 100644 index d2aa6b875..000000000 --- a/SddsSandboxUITests/SddsSandboxUITestsLaunchTests.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// SddsSandboxUITestsLaunchTests.swift -// SddsSandboxUITests -// -// Created by Калтырин Владимир Александрович on 21.03.2024. -// - -import XCTest - -final class SddsSandboxUITestsLaunchTests: XCTestCase { - - override class var runsForEachTargetApplicationUIConfiguration: Bool { - true - } - - override func setUpWithError() throws { - continueAfterFailure = false - } - - func testLaunch() throws { - let app = XCUIApplication() - app.launch() - - // Insert steps here to perform after app launch but before taking a screenshot, - // such as logging into a test account or navigating somewhere in the app - - let attachment = XCTAttachment(screenshot: app.screenshot()) - attachment.name = "Launch Screen" - attachment.lifetime = .keepAlways - add(attachment) - } -} diff --git a/SddsSwiftUIKit/.gitignore b/SddsSwiftUIKit/.gitignore deleted file mode 100644 index 0023a5340..000000000 --- a/SddsSwiftUIKit/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.DS_Store -/.build -/Packages -xcuserdata/ -DerivedData/ -.swiftpm/configuration/registries.json -.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -.netrc diff --git a/SddsSwiftUIKit/Package.swift b/SddsSwiftUIKit/Package.swift deleted file mode 100644 index 8f90b026b..000000000 --- a/SddsSwiftUIKit/Package.swift +++ /dev/null @@ -1,23 +0,0 @@ -// swift-tools-version: 5.9 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "SddsSwiftUIKit", - products: [ - // Products define the executables and libraries a package produces, making them visible to other packages. - .library( - name: "SddsSwiftUIKit", - targets: ["SddsSwiftUIKit"]), - ], - targets: [ - // Targets are the basic building blocks of a package, defining a module or a test suite. - // Targets can depend on other targets in this package and products from dependencies. - .target( - name: "SddsSwiftUIKit"), - .testTarget( - name: "SddsSwiftUIKitTests", - dependencies: ["SddsSwiftUIKit"]), - ] -) diff --git a/SddsSwiftUIKit/Sources/SddsSwiftUIKit/SddsSwiftUIKit.swift b/SddsSwiftUIKit/Sources/SddsSwiftUIKit/SddsSwiftUIKit.swift deleted file mode 100644 index 08b22b80f..000000000 --- a/SddsSwiftUIKit/Sources/SddsSwiftUIKit/SddsSwiftUIKit.swift +++ /dev/null @@ -1,2 +0,0 @@ -// The Swift Programming Language -// https://docs.swift.org/swift-book diff --git a/SddsSwiftUIKit/Tests/SddsSwiftUIKitTests/SddsSwiftUIKitTests.swift b/SddsSwiftUIKit/Tests/SddsSwiftUIKitTests/SddsSwiftUIKitTests.swift deleted file mode 100644 index e236841e8..000000000 --- a/SddsSwiftUIKit/Tests/SddsSwiftUIKitTests/SddsSwiftUIKitTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import XCTest -@testable import SddsSwiftUIKit - -final class SddsSwiftUIKitTests: XCTestCase { - func testExample() throws { - // XCTest Documentation - // https://developer.apple.com/documentation/xctest - - // Defining Test Cases and Test Methods - // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods - } -} diff --git a/SddsThemeBuilder/.gitignore b/SddsThemeBuilder/.gitignore deleted file mode 100644 index 0023a5340..000000000 --- a/SddsThemeBuilder/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.DS_Store -/.build -/Packages -xcuserdata/ -DerivedData/ -.swiftpm/configuration/registries.json -.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -.netrc diff --git a/SddsThemeBuilder/Package.swift b/SddsThemeBuilder/Package.swift deleted file mode 100644 index db5c8979a..000000000 --- a/SddsThemeBuilder/Package.swift +++ /dev/null @@ -1,23 +0,0 @@ -// swift-tools-version: 5.9 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "SddsThemeBuilder", - products: [ - // Products define the executables and libraries a package produces, making them visible to other packages. - .library( - name: "SddsThemeBuilder", - targets: ["SddsThemeBuilder"]), - ], - targets: [ - // Targets are the basic building blocks of a package, defining a module or a test suite. - // Targets can depend on other targets in this package and products from dependencies. - .target( - name: "SddsThemeBuilder"), - .testTarget( - name: "SddsThemeBuilderTests", - dependencies: ["SddsThemeBuilder"]), - ] -) diff --git a/SddsThemeBuilder/Sources/SddsThemeBuilder/SddsThemeBuilder.swift b/SddsThemeBuilder/Sources/SddsThemeBuilder/SddsThemeBuilder.swift deleted file mode 100644 index 08b22b80f..000000000 --- a/SddsThemeBuilder/Sources/SddsThemeBuilder/SddsThemeBuilder.swift +++ /dev/null @@ -1,2 +0,0 @@ -// The Swift Programming Language -// https://docs.swift.org/swift-book diff --git a/SddsThemeBuilder/Tests/SddsThemeBuilderTests/SddsThemeBuilderTests.swift b/SddsThemeBuilder/Tests/SddsThemeBuilderTests/SddsThemeBuilderTests.swift deleted file mode 100644 index bac8cddd9..000000000 --- a/SddsThemeBuilder/Tests/SddsThemeBuilderTests/SddsThemeBuilderTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import XCTest -@testable import SddsThemeBuilder - -final class SddsThemeBuilderTests: XCTestCase { - func testExample() throws { - // XCTest Documentation - // https://developer.apple.com/documentation/xctest - - // Defining Test Cases and Test Methods - // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods - } -} diff --git a/SddsUIKitCore/.gitignore b/SddsUIKitCore/.gitignore deleted file mode 100644 index 0023a5340..000000000 --- a/SddsUIKitCore/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.DS_Store -/.build -/Packages -xcuserdata/ -DerivedData/ -.swiftpm/configuration/registries.json -.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -.netrc diff --git a/SddsUIKitCore/Package.swift b/SddsUIKitCore/Package.swift deleted file mode 100644 index 9ccb34204..000000000 --- a/SddsUIKitCore/Package.swift +++ /dev/null @@ -1,23 +0,0 @@ -// swift-tools-version: 5.9 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "SddsUIKitCore", - products: [ - // Products define the executables and libraries a package produces, making them visible to other packages. - .library( - name: "SddsUIKitCore", - targets: ["SddsUIKitCore"]), - ], - targets: [ - // Targets are the basic building blocks of a package, defining a module or a test suite. - // Targets can depend on other targets in this package and products from dependencies. - .target( - name: "SddsUIKitCore"), - .testTarget( - name: "SddsUIKitCoreTests", - dependencies: ["SddsUIKitCore"]), - ] -) diff --git a/SddsUIKitCore/Sources/SddsUIKitCore/SddsUIKitCore.swift b/SddsUIKitCore/Sources/SddsUIKitCore/SddsUIKitCore.swift deleted file mode 100644 index 08b22b80f..000000000 --- a/SddsUIKitCore/Sources/SddsUIKitCore/SddsUIKitCore.swift +++ /dev/null @@ -1,2 +0,0 @@ -// The Swift Programming Language -// https://docs.swift.org/swift-book diff --git a/SddsUIKitCore/Tests/SddsUIKitCoreTests/SddsUIKitCoreTests.swift b/SddsUIKitCore/Tests/SddsUIKitCoreTests/SddsUIKitCoreTests.swift deleted file mode 100644 index 4001873d8..000000000 --- a/SddsUIKitCore/Tests/SddsUIKitCoreTests/SddsUIKitCoreTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import XCTest -@testable import SddsUIKitCore - -final class SddsUIKitCoreTests: XCTestCase { - func testExample() throws { - // XCTest Documentation - // https://developer.apple.com/documentation/xctest - - // Defining Test Cases and Test Methods - // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods - } -} diff --git a/lint.sh b/lint.sh index 47bdca35a..28908d90f 100644 --- a/lint.sh +++ b/lint.sh @@ -3,7 +3,7 @@ if [[ "$(uname -m)" == arm64 ]]; then fi if which swiftlint > /dev/null; then - swiftlint --config ../.swiftlint.yml + swiftlint else echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" fi diff --git a/scripts/build.sh b/scripts/build.sh index d0402da42..4d6fc81dd 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -28,14 +28,14 @@ for MODULE in "${!modules[@]}"; do print_info "Making an archive for iOS device..." iOS_ARCHIVE_PATH="${BUILD_PATH}/${SCHEME}-iphoneos.xcarchive" - xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${SCHEME} -archivePath "${iOS_ARCHIVE_PATH}" -sdk iphoneos SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES + SKIP_LINT=YES xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${SCHEME} -archivePath "${iOS_ARCHIVE_PATH}" -sdk iphoneos SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES print_info "Making an archive for iOS simulator..." iOS_SIMULATOR_ARCHIVE_PATH="${BUILD_PATH}/${SCHEME}-iossimulator.xcarchive" - xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${SCHEME} -archivePath "${iOS_SIMULATOR_ARCHIVE_PATH}" -sdk iphonesimulator SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES + SKIP_LINT=YES xcodebuild archive -project ${XCODE_PROJECT_PATH} -scheme ${SCHEME} -archivePath "${iOS_SIMULATOR_ARCHIVE_PATH}" -sdk iphonesimulator SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES print_info "Making XCFramework..." - xcodebuild -create-xcframework -framework "${BUILD_PATH}/${SCHEME}-iphoneos.xcarchive/Products/Library/Frameworks/${SCHEME}.framework" -framework "${BUILD_PATH}/${SCHEME}-iossimulator.xcarchive/Products/Library/Frameworks/${SCHEME}.framework" -output "${BUILD_PATH}/${SCHEME}.xcframework" + SKIP_LINT=YES xcodebuild -create-xcframework -framework "${BUILD_PATH}/${SCHEME}-iphoneos.xcarchive/Products/Library/Frameworks/${SCHEME}.framework" -framework "${BUILD_PATH}/${SCHEME}-iossimulator.xcarchive/Products/Library/Frameworks/${SCHEME}.framework" -output "${BUILD_PATH}/${SCHEME}.xcframework" if [ $? -ne 0 ]; then print_error "Build failed for the scheme $SCHEME." diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100644 index 000000000..a2ec8a263 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,32 @@ +#!/bin/bash +source "$(dirname "$0")/pretty_echo.sh" + +PROJECT_ROOT_DIR="$(dirname "$0")/.." +PROJECT_ROOT_DIR=$(cd "$PROJECT_ROOT_DIR" && pwd) +print_info "Root directory is ${PROJECT_ROOT_DIR}" + +WORKSPACE_NAME="SDDS.xcworkspace" +WORKSPACE_PATH="${PROJECT_ROOT_DIR}/${WORKSPACE_NAME}" +print_info "XCWorkspace path is ${PROJECT_ROOT_DIR}" + +modules=("SDDSSwiftUI" "SDDSUIKit" "SDDSIcons" "SDDSCore") + +print_info "Running tests for all targets..." +for MODULE in "${!modules[@]}"; do + SCHEME=${modules[$MODULE]} + XCODE_PROJECT_PATH="${PROJECT_ROOT_DIR}/${SCHEME}/${SCHEME}.xcodeproj" + + print_info "Running tests for the scheme $SCHEME" + + SKIP_LINT=YES xcodebuild -scheme ${SCHEME} -workspace ${WORKSPACE_PATH} -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' test + + if [ $? -ne 0 ]; then + print_error "Tests failed for the scheme $SCHEME." + exit 1 + else + print_success "Tests succeeded for the scheme $SCHEME" + fi + +done + +print_success "All tests succeeded"