This README provides instructions on how to set up and run the vizbee-ios-sample-app.
Follow these steps to get the app running on your local machine.
- Xcode 12.0 or later
- iOS 12.0 or later
- Swift Package Manager
- CocoaPods (if applicable)
For how to install Vizbeekit using CocoaPods refer to VizbeeKit Setup Docs
-
Clone the repository:
git clone https://github.com/ClaspTV/vizbee-ios-sample-app.git -
Navigate to the project directory:
cd vizbee-ios-sample-app -
Open the Xcode project:
open VizbeeDemo.xcodeproj -
If using CocoaPods, install dependencies:
pod installThen open the workspace instead of the project file:
open VizbeeDemo.xcworkspace -
In Xcode, go to the Signing & Capabilities tab and select your team for code signing.
-
Open the
AppDelegate.swiftfile. -
Replace the Sample Vizbee App ID with your actual App ID:
VizbeeManager.shared.initialize(appId: "vzb2000001")
-
Select your target device or simulator in Xcode.
-
Click the Run button or press
Cmd + Rto build and run the app.
This Sample app already includes the Vizbee SDK integration. For developers looking to integrate the Vizbee SDK into their own projects, please note:
- There are template files located at /templates/iOSSDKCodeSetupInstructions.md in this repository.
- This file contains instructions and templates for integrating the VizbeeKit SDK into other iOS applications.
- It is not directly related to running this Sample app but serves as a reference for other integration projects.
If you encounter any issues:
- Ensure all prerequisites are installed and up to date.
- Clean the build folder in Xcode (Shift + Cmd + K) and rebuild.
- If using CocoaPods, try deleting the Pods folder and running
pod installagain.
For any questions or support, please contact support@vizbee.tv or visit our documentation at https://console.vizbee.tv/app/vzb2000001/develop/guides/ios-continuity