Line 1: Points to the GitHub location for the CocoaPods pod specs.Using a text editor, add the following lines of code to the Podfile and save it. In your project folder, create a plain text file called Podfile (no file extension). To easily create and update the Podfile, you can do the following steps inside of the CocoaPods App. ![]() You may want to make a backup before doing this. Using CocoaPods (the pod tool) on an existing Xcode project will modify the project file.CocoaPods version 1.0 or newer is required.To install CocoaPods, see the instructions on the CocoaPods site. It is not required, but makes installation easier. The easiest way to add the SDK and its dependencies to your project is to use CocoaPods.ĬocoaPods is a dependency manager that adds libraries to your project. Now close the project (yes, close it - this is important!)Īdd the SDK and its dependencies to your project.Use either the Storyboard or SwiftUI interface.Ĭhoose the location where you want to save your project and click Create. This makes the product name unique for the app store. Organization Identifier: com.your-company-name.The team name is required for code signing. If you want to distribute your app on the App Store, you will need to select a team that you belong to through the Apple Developer Program. Create projectĬhoose tvOS and then App for the template. Start the creation of a new tvOS project in Xcode. Then add the SDK along with any dependencies to the project. ![]() You can view the complete code for each of the following: Build the app by following the steps in this guideįollow the steps below to get familiar with setting up an app project that uses the Brightcove Player SDK for tvOS.
0 Comments
Leave a Reply. |