#Connect SDK iOS Connect SDK is an open source framework that connects your mobile apps with multiple TV platforms. Because most TV platforms support a variety of protocols, Connect SDK integrates and abstracts the discovery and connectivity between all supported protocols.
For more information, visit our website.
##Dependencies This project has the following dependencies, some of which require manual setup. If you would like to use a version of the SDK which has no manual setup, consider using the lite version of the SDK.
- libicucore.dylib
- libz.dylib
- Other linker flags: -ObjC
- Automatic Reference Counting (ARC)
- Connect-SDK-iOS-Core submodule
- Connect-SDK-iOS-Google-Cast submodule
- Requires GoogleCast.framework
##Including Connect SDK in your app ###Using CocoaPods
- Add
pod "ConnectSDK"
to yourPodfile
- Run
pod install
- Open the workspace file and run your project
You can use pod "ConnectSDK/Core"
to get the lite version.
###Without CocoaPods
- Clone repository (or download & unzip)
- Set up the submodules by running the following commands in Terminal
git submodule init
git submodule update
- Open your project in Xcode
- Locate the Connect SDK Xcode project in the Finder
- Drag the Connect SDK Xcode project into your project's Xcode library
- Navigate to your project's settings screen, then navigate to the Build Phases tab
- Add ConnectSDK as a Target Dependency
- Add the following in the
Link Binary With Libraries
section- libConnectSDK.a
- libz.dylib
- libicucore.dylib
- Navigate to the
Build Settings
tab and add-ObjC
to your target'sOther Linker Flags
- Follow the setup instructions for each of the service submodules
###Migrating from 1.3 to 1.4 release
- Open terminal and go to your local Connect-SDK-iOS repo
- Pull the latest updates by running command
git pull
in Terminal - Set up the submodules by running the following commands in Terminal
git submodule init
git submodule update
###Include Strings File for Localization (optional)
- Locate the Connect SDK Xcode project in the Finder
- Drag the ConnectSDKStrings folder into your project's library
- You may make whatever changes you would like to the values and the SDK will use your strings file
##Contact
- Twitter: @ConnectSDK
- Ask a question with the "tv" tag on Stack Overflow
- Developer Support: [email protected]
- Partnerships: [email protected]
##Credits Connect SDK for iOS makes use of the following projects, some of which are open-source.
- Google Cast SDK
- SocketRocket (Apache License, Version 2.0)
- modifications:
- stability
- self-signed certificate support
- avoid potential namespace collisions
- compiler warning fix
- modifications:
- objc-guid (BSD 3-Clause revised)
- GCDWebServer (MIT)
- XMLReader (MIT)
- modifications:
- properly return an error if XML parsing has failed
- modifications:
- ASIHTTPRequest (MIT)
- modifications:
- static analyzer warning fix
- modifications:
- xswi (MIT)
- modifications:
- compiler warning fix
- modifications:
##License Copyright (c) 2013-2014 LG Electronics.
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
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.