Skip to content

chore(ios): add manual-signing mode to testflight-upload, shared Swift/TS domain vectors, and fix VaultUITests MainActor warning - #255

Open
humandebri wants to merge 4 commits into
mainfrom
chore/ios-release-script-and-shared-domain-vectors
Open

humandebri wants to merge 4 commits into
mainfrom
chore/ios-release-script-and-shared-domain-vectors

Conversation

@humandebri

Copy link
Copy Markdown
Collaborator

Summary

  • Add --manual-signing (and KINIC_IOS_SIGNING_STYLE=manual) support to mobile/ios/scripts/testflight-upload.sh so TestFlight archives and exports can be signed with local App Store provisioning profiles without requiring an Xcode Apple ID login, automatically restoring the generated Kinic.xcodeproj via ensure-xcodegen-project.sh on exit.
  • Add shared Swift/TypeScript domain normalization and matching test vectors in shared/vault-domain-vectors.json, executed by both packages/vault-crypto/test/credential.test.ts and mobile/ios/Packages/KinicVaultCore/Tests/KinicVaultCoreTests/KinicVaultCoreTests.swift to prevent future cross-platform drift.
  • Annotate VaultUITests.launchVault with @MainActor to eliminate Swift 6 actor-isolation compiler warnings.

Note: ITSAppUsesNonExemptEncryption in mobile/ios/KinicApp/Info.plist is intentionally left unset as enforced by mobile/ios/scripts/check-vault-autofill-config.test.mjs (encryption compliance continues to be declared in App Store Connect).

Verification

  • (cd packages/vault-crypto && ./node_modules/.bin/vitest run): 67/67 passed
  • swift test --package-path mobile/ios/Packages/KinicVaultCore: 21/21 passed
  • node mobile/ios/scripts/check-sandbox-runtime.mjs: passed
  • node --test mobile/ios/scripts/check-vault-autofill-config.test.mjs: 10/10 passed
  • xcodebuild build-for-testing -project mobile/ios/Kinic.xcodeproj -scheme Kinic -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO: succeeded with zero warnings

…t/TS domain vectors, and fix VaultUITests MainActor warning
… unique mktemp dir, and forward non-archive stub xcodebuild calls
…form parity counterexamples, add PBT, and trim testflight-upload.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant