Manual XCFramework Integration
Use this method when you distribute NCKit through an internal artifact registry (Artifactory, Nexus, Sonatype), an MDM system, or any scenario where SPM/CocoaPods can't access the GitHub repository.
Downloadโ
Get NCKit.xcframework.zip from GitHub Releases.
Verify the download integrity with the published SHA-256 checksum:
shasum -a 256 NCKit.xcframework.zip
# Compare with checksum in release notes
Integration Stepsโ
-
Unzip the archive:
unzip NCKit.xcframework.zip -
Drag
NCKit.xcframeworkinto your Xcode project navigator (under your project root, not inside a target) -
In the Add to targets dialog, check your app target
-
In your target's General โ Frameworks, Libraries, and Embedded Content:
- Confirm
NCKit.xcframeworkappears - Set it to Embed & Sign
- Confirm
-
Verify linked frameworks in Build Phases โ Link Binary with Libraries:
AVFoundation.frameworkAccelerate.framework
-
Build and run on a device or Apple Silicon simulator
Exclude Intel Simulator (Intel Mac)โ
EXCLUDED_ARCHS[sdk=iphonesimulator*] = x86_64
Version Trackingโ
When updating NCKit manually:
- Remove the old
NCKit.xcframeworkfrom your project - Drag in the new version
- Clean derived data: Product โ Clean Build Folder
- Rebuild
Checksum Verification (SPM-style)โ
swift package compute-checksum NCKit.xcframework.zip
Package.swift
.binaryTarget(
name: "NCKit",
url: "https://your-artifact-registry.com/NCKit/1.0.1/NCKit.xcframework.zip",
checksum: "PASTE_CHECKSUM_HERE"
)