您可以使用物联网平台提供的iOS SDK,搭建设备与云端的双向数据通道。SDK包含设备动态注册、初始化建联和数据上下行的接口等内容。
配置
本章节中SDK 采用 cocoapods 管理依赖,建议采用 cocoapods 1.2.0 或以上版本。在xcode工程Podfile中添加以下行,集成SDK。
source 'https://github.com/CocoaPods/Specs.git'source 'https://github.com/aliyun/aliyun-specs.git'target "necslinkdemo" dopod 'IMLChannelCore', '1.1.1'end
该文章对您有帮助吗?