Make Shared Test Helpers Fail In XCTest And Swift Testing
Verify that a shared assertion helper really fails through both test frameworks, choose the right interoperability mode, and preserve the caller's source location.
Read moreShowing 1–12 of 26 posts
Verify that a shared assertion helper really fails through both test frameworks, choose the right interoperability mode, and preserve the caller's source location.
Read moreMove bundled JSON into a source Swift package, expose a small typed API, and prove that tests and consuming apps load the package's file instead of their own.
Read moreUse @c @implementation to preserve a C interface, check signatures at compile time, and keep buffer ownership and failure behavior explicit.
Read moreRecord the selected compiler and SDK, verify resolved settings for the app and extensions, and catch deployment-target drift without rewriting release version numbers.
Read moreUse explicit module selection when a type shadows a library name or two imported extensions provide the same method, with positive and negative compiler fixtures.
Read moreKeep deprecations strict across a target while allowing one documented compatibility adapter to warn, and verify that the exception cannot silently spread.
Read moreSeparate dependency requirements from the resolved graph, enforce Package.resolved in builds, and record the toolchain inputs a lockfile cannot pin.
Read moreUse named SwiftUI previews, seeded debug states, simctl screenshots, temporary tuning controls, and narrow snapshot checks to make agent-assisted UI work repeatable instead of vibes-based.
Read moreBuild a small agentic SwiftUI feature, profile it with the Foundation Models Instrument, and use the trace to fix prompt bloat, repeated tool calls, latency, and unsafe debugging data.
Read moreRun a tiny Swift backend in a persistent local Linux environment, point Xcode tests at it, and keep Docker and CI for the jobs they still do best.
Read moreRefactor a crowded SwiftUI editor toolbar for resizable iPhone apps with visibility priorities, overflow menus, pinned actions, size classes, and Xcode 27 Live Preview resizing.
Read moreBuild a Swift-native Xcode automation CLI that streams xcodebuild output, handles failures, and writes a useful CI summary.
Read more