推荐的安装方法是使用CocoaPods。只需将pod 'catalyze-healthkit-sdk', '~> 1.0'
添加到Podfile中,运行pod install
即可开始开发。这也链接到主catalyze-ios-sdk
版本4.0。如果您不使用CocoaPods或者已经有未集成CocoaPods的项目,您可以克隆此仓库到您的电脑。只需在“文件”菜单中点击,然后选择“将文件添加到'yourProjectName'...”。导航到SDK目录,并点击添加。现在您已经在应用中使用SDK了。
请按照主catalyze iOS SDK的所有设置和安装说明进行操作。然后只需与CatalyzeStore
进行交互,数据将被保存到HealthKit和Catalyze。
Copyright 2015 catalyze.io, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://apache.ac.cn/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.