Sparksee for Objective-C is distributed as a single Sparksee.xcframework, as explained in the Installation chapter. Since this xcframework bundles the binaries for both Mac OS and iOS (device and simulator), the way you add it to your project and use it from source code is exactly the same for both platforms.
To use the Sparksee Objective-C framework in your application, drag
Sparksee.xcframework into your Xcode project and make
sure it’s added to the
Frameworks, Libraries, and Embedded Content section of your
target (Xcode adds it to the Link Binary With Libraries
build phase automatically).
Then you can import the <Sparksee/Sparksee.h> header in your source code.
#import <Sparksee/Sparksee.h>At build time, Xcode automatically picks the right binary slice from the xcframework for the platform and architecture you’re targeting, so no manual library placement or separate installer is required.
Both the Mac OS and iOS slices bundled in the xcframework are dynamic
libraries. Set Embed & Sign for the framework in your
target’s Frameworks, Libraries, and Embedded Content
section, so it’s copied into your application bundle and signed. This
way your application carries its own copy of the Sparksee library and
there’s nothing extra to install on the target computers, on either
platform.