Skip to content

Phase 2–3: Usable without Carthage (verify + SPM Xcode + XCFramework)#40

Merged
srea merged 1 commit into
masterfrom
cursor/usable-state-phase2-e1d0
May 31, 2026
Merged

Phase 2–3: Usable without Carthage (verify + SPM Xcode + XCFramework)#40
srea merged 1 commit into
masterfrom
cursor/usable-state-phase2-e1d0

Conversation

@srea

@srea srea commented May 31, 2026

Copy link
Copy Markdown
Owner

Closes the usability gap after #39. Part of #38.

Verification (ran locally on clean clone, no Carthage)

./scripts/verify.sh
Check Result
SPM library build OK
Xcode project (RIBs-iOS 1.0 + Rx 6 via SPM) OK
Prebuilt XCFramework present OK
WebSocketServer npm ci OK
Browser yarn build OK

Changes

Phase 2 — Xcode / CI

  • RIBsTreeViewerClient.xcodeproj uses Swift Package dependencies (RIBs-iOS, RxSwift) instead of Carthage XCFrameworks
  • CI: single ios job runs ./scripts/verify.sh (removed Carthage setup-ci + duplicate spm job)
  • scripts/build-xcode-project.sh, scripts/verify.sh

Phase 3 — XCFramework

  • Regenerated Products/RIBsTreeViewerClient.xcframework (1.0.8, @available(iOS 15.0))
  • make generate_xcframeworks resolves SPM packages (no Carthage prerequisite)

Docs

  • README: Quick start (3 terminals), SPM-first, Carthage marked legacy
  • Makefile: verify target; removed Carthage setup targets

Usable workflow

  1. cd WebSocketServer && npm start
  2. cd Browser && yarn build && open ./public/index.html
  3. App (DEBUG): link XCFramework or add this repo as SPM package; RIBsTreeViewerImplws://127.0.0.1:8080

Phase 4 (follow-up, not in this PR)

  • Remove Cartfile, Carthage patch scripts, DeploymentTarget.xcconfig

…#38)

- Xcode project links RIBs-iOS 1.0 and RxSwift 6 via SPM (no Carthage checkout)
- Regenerate Products/RIBsTreeViewerClient.xcframework (1.0.8, @available iOS 15)
- Add scripts/verify.sh and CI ios job runs full usability checks
- README: Quick start, SPM-first integration, deprecate Carthage
- Makefile: drop Carthage setup targets; add verify target
@srea srea merged commit 7b185e4 into master May 31, 2026
3 checks passed
@srea srea deleted the cursor/usable-state-phase2-e1d0 branch May 31, 2026 01:54
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