Handle multiple architectures: filter out architectures that dont match with machine's architecture by acecilia · Pull Request #459 · XcodesOrg/xcodes

added 2 commits

January 16, 2026 19:28
- Add 4 integration tests for XcodeList.update() that verify architecture filtering
- Tests cover ARM64 selecting Apple_silicon, ARM64 fallback to Universal, Intel selecting Universal, and Intel edge case
- Replace Date() with Date(timeIntervalSince1970: 0) for consistent test behavior
- Replace force unwraps with XCTUnwrap in test mocks
- Replace try! with try and proper error handling
- Wrap mock setup in do-catch blocks that return Promise errors

acecilia