Release notes
What changed in each release of the iOS SDK, newest first.
0.2.0
Released 2026-09-14
Changed
NoughtyToursSDK.xcframework.zipis 10.6 MB, down from 13.0 MB. The binary no longer carries the linker's debug map, which only named files on our build machine. SDK frames in your crash reports still symbolicate to function names, and your linked app is the same size.- The documentation is now at docs.noughtyreality.com, with a version for each release.
0.1.0
Initial binary release.
Added
- Closed-source Swift Package Manager distribution of the NoughtyTours SDK as a prebuilt,
cross-Xcode static
xcframework, exposed through a singleNoughtyToursSDKproduct and a single import (import NoughtyToursSDK). NoughtyTours— one instance per process, built from aConfiguration(environment, publishable key, organisation provider, settings provider).initcannot fail;start()prepares local storage and reconnects to in-flight uploads, and is idempotent.- Device-level auth. The SDK authenticates itself: every capture/data request carries
a bearer minted from an Apple App Attest assertion, scoped to the organisation the host
supplies.
prepareDeviceAuth()establishes it up front;revokeDeviceSession()tears it down. There is no user login in the SDK — the host owns that and supplies only the selected organisation viaOrganizationProviderType. - Screens vended from the core in three namespaces —
core.properties,core.structureCapture,core.panoramaCapture— each reporting through one typedonEventclosure whose events carry the handle for the next screen.PanoramaCaptureEventmatches its structure-capture neighbour: a.cancelledcase, and a.finishedthat carries the floor and how many panoramas the visit added. - iPhone and iPad. The capture screens and the modal cards lay out correctly on iPad, where the cards stay dialog-sized rather than stretching to the full width.
- Property/floor/room handles without the list screen:
createProperty(name:floorCount:metadata:)andproperty(id:), for hosts that already know what they are capturing. Both areasync: they start the core themselves, so a host that builds a screen before awaitingstart()gets an error rather than a trap. - Host metadata on a tour.
createPropertytakes an optionalmetadata— anyEncodablethat encodes to a JSON object — serialized once at the boundary and sent when the tour is created, so a work order or job id travels to the backend with the capture. Set once, at creation: the update request carries no such field, and a property created without it never gets any. The only check is that the value is a JSON object; anything else isNoughtyToursError.invalidMetadata, which is not retryable. - Reading what a capture produced.
status(of:)for a point-in-time read andstatusUpdates(for:)for anAsyncStreamdriven by the database's own change notifications; both run the same query, so a poll and a stream cannot disagree.PropertyStatuscarries the backend tour id (niluntil the first sync), the sync state, and floor/room/panorama counts including uploaded and failed. - Typed errors —
NoughtyToursErrorandAuthError, bothLocalizedErrorwith anisRetryableflag and a stablecode(lowercase dot-separated slugs, one per case, tabulated on each property). Unlikedescriptionand thereasonpayloads, which are diagnostics whose wording may change, a code is API: safe to log, to forward, and to branch on. - Offline-first storage and sync: capture never blocks on connectivity, and uploads continue in the background, reconnecting to transfers still in flight across launches.
- The SDK logs for itself (
Log). Its lines are printed to the console prefixed[NoughtyToursSDK], filtered byLog.level. Every line, down todebug, is written to the SDK's on-device log file (Documents/Logs/capture-runtime.log) whatever the level says, so a bug report stays complete at any verbosity. NoughtyTours.isDeviceSupportedfor gating the capture flow on LiDAR availability.- Bundled assets and localized strings resolved automatically at runtime. A missing resource bundle degrades to raw keys on screen rather than taking the host app down.
- Every property has a name.
createProperty(name:)takes a non-optionalString, trimmed before it reaches the API; a blank one is rejected withNoughtyToursError.invalidNamerather than silently becoming an English placeholder. Floor and room names stay optional — the backend models an unnamed floor or room, and a floor titles itself from its number. - Third-party
NOTICESandLICENSE.
Notes
- Requires iOS 17.0+ and Xcode 16+.
- arm64 only (device + Apple-silicon simulator); Intel-Mac simulator unsupported.
- A real device with a LiDAR scanner is required for anything that captures or syncs; App Attest is additionally unavailable in the simulator.
- Requires the App Attest capability on your own App ID and a
pk_ios_*publishable key issued by The Noughty Fox for the matching environment. - The package resolves no dependencies of its own — everything the SDK needs is inside the binary.
- Localized in
en,de,roandru. The SDK's screens localize themselves; there is no string-override hook.