Drop TetherKit's TetherClient/SSEClient/Message from the macOS app; drive tethercore.Engine instead (RoomIdentity still from TetherKit via selective import). The Mac now gets direct P2P over the RTC data channel for free, and the native Swift app is no longer a parallel wire-protocol implementation. Background NSPasteboard polling (auto-send on copy) and write-on-receive are preserved. Feed UI moves to a FeedItem view-model (RTC messages carry ts=0 → fall back to local time). Verified end-to-end against the live server: RECEIVE (bus → Mac pasteboard via pbpaste) and SEND (pbcopy → bus) both confirmed. Generalize core/build-ios.sh → build-apple.sh: builds iOS device + sim + macOS arm64 into one TetherCore.xcframework and vendors it into both apps. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
604 B
Plaintext
25 lines
604 B
Plaintext
# SwiftPM / Xcode build products
|
|
.build/
|
|
build/
|
|
DerivedData/
|
|
*.xcodeproj/xcuserdata/
|
|
*.xcodeproj/project.xcworkspace/xcuserdata/
|
|
*.xcworkspace/xcuserdata/
|
|
|
|
# Generated Xcode projects (XcodeGen owns project.yml as source of truth)
|
|
# Tracked intentionally so cloning without xcodegen still opens — keep pbxproj.
|
|
.DS_Store
|
|
|
|
# Generated by core/build-ios.sh — regenerate, don't commit
|
|
TetherApp/Vendor/
|
|
TetherApp/Sources/tethercore.swift
|
|
|
|
# editor state
|
|
*.xcuserstate
|
|
xcuserdata/
|
|
.swiftpm/
|
|
|
|
# macOS app generated artifacts (core/build-apple.sh)
|
|
MacTetherApp/Vendor/
|
|
MacTetherApp/Sources/tethercore.swift
|