diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fedf2de..bf95a16 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -37,7 +37,7 @@ jobs: build-mode: ${{ matrix.build-mode }} - if: matrix.build-mode == 'manual' name: "Select Xcode" - run: sudo xcrun xcode-select -s /Applications/Xcode_26.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_26.4.app - if: matrix.build-mode == 'manual' name: "Build" run: xcrun xcodebuild -project Sources/Secretive.xcodeproj -scheme Secretive CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3a20673..cd0dd6d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -25,7 +25,7 @@ jobs: APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_26.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_26.4.app - name: Update Build Number env: RUN_ID: ${{ github.run_id }} diff --git a/.github/workflows/oneoff.yml b/.github/workflows/oneoff.yml index 1693abb..f394e60 100644 --- a/.github/workflows/oneoff.yml +++ b/.github/workflows/oneoff.yml @@ -24,7 +24,7 @@ jobs: APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_26.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_26.4.app - name: Update Build Number env: RUN_ID: ${{ github.run_id }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7370f4f..29bbaef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_26.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_26.4.app - name: Test run: xcrun xcodebuild -project Sources/Secretive.xcodeproj -scheme PackageTests test # SPM doesn't seem to pick up on the tests currently? @@ -47,7 +47,7 @@ jobs: APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} run: ./.github/scripts/signing.sh - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_26.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_26.4.app - name: Update Build Number env: TAG_NAME: ${{ github.ref }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d19c30c..8ec1d21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Set Environment - run: sudo xcrun xcode-select -s /Applications/Xcode_26.2.app + run: sudo xcrun xcode-select -s /Applications/Xcode_26.4.app - name: Test Main Packages run: xcrun xcodebuild -project Sources/Secretive.xcodeproj -scheme PackageTests test # SPM doesn't seem to pick up on the tests currently? diff --git a/Sources/SecretAgent/AppDelegate.swift b/Sources/SecretAgent/AppDelegate.swift index 49c109a..40a11a3 100644 --- a/Sources/SecretAgent/AppDelegate.swift +++ b/Sources/SecretAgent/AppDelegate.swift @@ -35,9 +35,9 @@ class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ aNotification: Notification) { logger.debug("SecretAgent finished launching") Task { - let inputParser = try await XPCAgentInputParser() for await session in socketController.sessions { Task { + let inputParser = try await XPCAgentInputParser() do { for await message in session.messages { let request = try await inputParser.parse(data: message) diff --git a/Sources/SecretAgent/SecretAgent.entitlements b/Sources/SecretAgent/SecretAgent.entitlements index 96fa49e..35188de 100644 --- a/Sources/SecretAgent/SecretAgent.entitlements +++ b/Sources/SecretAgent/SecretAgent.entitlements @@ -12,14 +12,14 @@ com.apple.security.hardened-process.dyld-ro - com.apple.security.hardened-process.enhanced-security-version - 1 + com.apple.security.hardened-process.enhanced-security-version-string + 1 com.apple.security.hardened-process.hardened-heap - com.apple.security.hardened-process.platform-restrictions - 2 com.apple.security.smartcard + com.apple.security.hardened-process.platform-restrictions-string + 2 keychain-access-groups $(AppIdentifierPrefix)com.maxgoedjen.Secretive diff --git a/Sources/SecretAgentInputParser/SecretAgentInputParser.entitlements b/Sources/SecretAgentInputParser/SecretAgentInputParser.entitlements index 08818a6..7b72efc 100644 --- a/Sources/SecretAgentInputParser/SecretAgentInputParser.entitlements +++ b/Sources/SecretAgentInputParser/SecretAgentInputParser.entitlements @@ -12,11 +12,11 @@ com.apple.security.hardened-process.dyld-ro - com.apple.security.hardened-process.enhanced-security-version - 1 com.apple.security.hardened-process.hardened-heap - com.apple.security.hardened-process.platform-restrictions - 2 + com.apple.security.hardened-process.enhanced-security-version-string + 1 + com.apple.security.hardened-process.platform-restrictions-string + 2 diff --git a/Sources/Secretive.xcodeproj/project.pbxproj b/Sources/Secretive.xcodeproj/project.pbxproj index 5fedc94..d7a7aea 100644 --- a/Sources/Secretive.xcodeproj/project.pbxproj +++ b/Sources/Secretive.xcodeproj/project.pbxproj @@ -592,7 +592,7 @@ attributes = { BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 2600; - LastUpgradeCheck = 2600; + LastUpgradeCheck = 2640; ORGANIZATIONNAME = "Max Goedjen"; TargetAttributes = { 50617D7E23FCE48D0099B055 = { diff --git a/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/PackageTests.xcscheme b/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/PackageTests.xcscheme index 7b1c414..4c4077e 100644 --- a/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/PackageTests.xcscheme +++ b/Sources/Secretive.xcodeproj/xcshareddata/xcschemes/PackageTests.xcscheme @@ -1,6 +1,6 @@ com.apple.security.hardened-process.dyld-ro - com.apple.security.hardened-process.enhanced-security-version - 1 com.apple.security.hardened-process.hardened-heap - com.apple.security.hardened-process.platform-restrictions - 2 + com.apple.security.hardened-process.enhanced-security-version-string + 1 com.apple.security.smartcard + com.apple.security.hardened-process.platform-restrictions-string + 2 keychain-access-groups $(AppIdentifierPrefix)com.maxgoedjen.Secretive diff --git a/Sources/SecretiveUpdater/SecretiveUpdater.entitlements b/Sources/SecretiveUpdater/SecretiveUpdater.entitlements index 08818a6..f834c6d 100644 --- a/Sources/SecretiveUpdater/SecretiveUpdater.entitlements +++ b/Sources/SecretiveUpdater/SecretiveUpdater.entitlements @@ -12,11 +12,11 @@ com.apple.security.hardened-process.dyld-ro - com.apple.security.hardened-process.enhanced-security-version - 1 + com.apple.security.hardened-process.enhanced-security-version-string + 1 com.apple.security.hardened-process.hardened-heap - com.apple.security.hardened-process.platform-restrictions - 2 + com.apple.security.hardened-process.platform-restrictions-string + 2