# TIOT_SDK_iOS **Repository Path**: Tijio/TIOT_iOS_SDK ## Basic Information - **Project Name**: TIOT_SDK_iOS - **Description**: No description available - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-24 - **Last Updated**: 2021-09-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TJSmartHomeSDK [![CI Status](https://img.shields.io/travis/iMickChen/TJSmartHomeSDK.svg?style=flat)](https://travis-ci.org/iMickChen/TJSmartHomeSDK) [![Version](https://img.shields.io/cocoapods/v/TJSmartHomeSDK.svg?style=flat)](https://cocoapods.org/pods/TJSmartHomeSDK) [![License](https://img.shields.io/cocoapods/l/TJSmartHomeSDK.svg?style=flat)](https://cocoapods.org/pods/TJSmartHomeSDK) [![Platform](https://img.shields.io/cocoapods/p/TJSmartHomeSDK.svg?style=flat)](https://cocoapods.org/pods/TJSmartHomeSDK) ## 快速集成 **1.使用Cocoapods集成** 在Podfile文件中添加以下内容: ``` platform :ios, '8.0' target 'your_target_name' do pod "TJSmartHomeSDK" end ``` 然后在项目根目录下执行pod update命令,集成第三方库。 CocoaPods的使用请参考:[CocoaPods Guides](http://https://guides.cocoapods.org) **2.初始化SDK** 在项目的 `PrefixHeader.pch` 文件添加以下内容: ``` #import #import ``` **3.设置环境** 将 Build Settings 中的 Allow Non-modular Includes In Framework Modules 设为YES **4.初始化** 打开AppDelegate.m文件,在[AppDelegate application:didFinishLaunchingWithOptions:]方法中初始化SDK: ``` [TJSmartHomeBase registerServiceWithAppID:@"xxxx_xxxx_xxxx" cerName:@"xxxx"] ``` 至此,准备工作已经全部完毕,可以开始App开发啦。 ## 开发文档 [开发文档](https://gitee.com/Tijio/TIOT_iOS_SDK_Document/wikis/pages)