Skip to main content
Code samples

Requirements

Platform Requirementsโ€‹

RequirementVersion
iOS16.0+
Xcode15.0+
Swift5.9+
Architecturearm64 (device), arm64 (Apple Silicon simulator)
Intel Mac Simulator Not Supported

NCKit's XCFramework ships arm64-simulator only. x86_64 (Intel Mac) simulator is not included. See the Simulator guide for workarounds.

Architecture Detailsโ€‹

NCKit.xcframework/
โ”œโ”€โ”€ ios-arm64/ # Physical iOS devices (iPhone, iPad)
โ”‚ โ””โ”€โ”€ NCKit.framework/
โ””โ”€โ”€ ios-arm64-simulator/ # Apple Silicon Mac simulator
โ””โ”€โ”€ NCKit.framework/

The ios-arm64-simulator slice runs on Apple Silicon Macs (M1/M2/M3/M4) using the native arm64 simulator. It does not run on Intel Macs without Rosetta.

Dependenciesโ€‹

NCKit has no external Swift dependencies. The following Apple frameworks are used internally:

FrameworkUsage
AVFoundationAudio file decoding, format conversion, AVAudioConverter
AccelerateSIMD math operations in the DSP pipeline
FoundationFile system, Bundle, URL handling

These are linked automatically via the podspec and xcframework metadata. No manual linking required for SPM or CocoaPods users.

Model Fileโ€‹

NCKit bundles NCKit_model.tar.gz inside NCKit.xcframework. The model is approximately 8.5 MB and is embedded in both device and simulator slices.

NCKitModelLocator.modelTarGzURL() handles extracting the model to a writable path at runtime.

See How to Use.