feat(ios): W0 scaffold + day-1 spike + WireProtocol frozen contract + TestSupport doubles
T-iOS-1: ios/ XcodeGen project (iOS 17, Swift 6 strict concurrency, ATS per PLAN §5.2), 5 SPM package shells, CI skeleton T-iOS-2: Origin spike vs real server — URLSessionWebSocketTask custom Origin CONFIRMED (no Starscream); 16MiB replay + EMSGSIZE(40) errno correction written back to plan T-iOS-3: WireProtocol frozen contract, 59 tests, 100% line coverage, cross-impl vectors vs src/protocol.ts via tsx T-iOS-4: FakeTransport/FakeClock/FakeHTTPTransport doubles Verify: independent agent re-ran all acceptance — 6/6 PASS
This commit is contained in:
24
ios/Packages/APIClient/Package.swift
Normal file
24
ios/Packages/APIClient/Package.swift
Normal file
@@ -0,0 +1,24 @@
|
||||
// swift-tools-version: 6.0
|
||||
// T-iOS-1 scaffold shell. APIClient / Endpoints / Models / PairingProbe /
|
||||
// PairingError land in T-iOS-8 (P1 increments via T-iOS-38, single owner).
|
||||
// Dependency direction is strictly downward: APIClient → WireProtocol only.
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "APIClient",
|
||||
platforms: [.iOS(.v17), .macOS(.v14)],
|
||||
products: [
|
||||
.library(name: "APIClient", targets: ["APIClient"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(path: "../WireProtocol"),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "APIClient",
|
||||
dependencies: [.product(name: "WireProtocol", package: "WireProtocol")]
|
||||
),
|
||||
.testTarget(name: "APIClientTests", dependencies: ["APIClient"]),
|
||||
],
|
||||
swiftLanguageModes: [.v6]
|
||||
)
|
||||
Reference in New Issue
Block a user