4.3.91
- Swift Package: Available here
- API Reference for SpikeSDK: Available here
Requirements
- iOS Version:
13.0+
iOS Signing & Capabilities
To add HealthKit support to your application’s Capabilities:- Open the
iOS/
folder of your project in Xcode. - Select the project name in the left sidebar.
- Open the Signing & Capabilities section.
- In the main view, select + Capability and double-click HealthKit.
Info.plist
Add Health Kit permissions descriptions to yourInfo.plist
file:
SDK Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. To integrate SpikeSDK into your Xcode project using CocoaPods, specify it in yourPodfile
:
pod install
and pod update
commands to install/update pods afterward.
Swift Package Manager
To integrate SpikeSDK into your Xcode project using Swift Package Manager, add it in yourPackage.swift
or through the Project’s Package Dependencies tab: