iOS platform support (closes #52)
Declares .iOS(.v18) in the package so the library products — DrawingComposer and ScriptHarness — link into downstream iOS apps (e.g. a SwiftUI app deploying to iPhone). Previously SPM assumed iOS 12 for these targets, so any iOS app pulling them failed resolution against OCCTSwift's iOS-15 floor. v18 matches the sibling cohort (Viewport/Tools/AIS are .iOS(.v18)).
Also in this release
ScriptContextoutput-directory selection is now platform-guarded. macOS behaviour is unchanged (iCloud Drive if present, else~/.occtswift-scripts/output); iOS writes into the app sandbox's Documents directory, sincehomeDirectoryForCurrentUserand the~/Library/Mobile DocumentsiCloud path are unavailable in the iOS sandbox.
Scope
Library products only. The executable targets (occtkit, Script, legacy Graph*) shell out via Foundation.Process and remain macOS-only — SPM never pulls them into an iOS app that links a library product.
Verified
xcodebuild -destination 'generic/platform=iOS'builds bothDrawingComposerandScriptHarness(arm64-apple-ios18.0).swift buildon macOS still links all executables.
Downstream consumers can now move their pin to from: "1.0.5".