For the complete documentation index, see llms.txt. This page is also available as Markdown.

macOS

MacOS SDK for native desktop applications

Installation

The Cobrowse SDK for macOS is available for installation via several dependency managers, or as a framework to integrate directly into your project:

https://github.com/cobrowseio/cobrowse-sdk-ios-binary.git

Add the CobrowseSDK package dependency to your app target.

pod 'CobrowseIO', '~>3'

Don't forget to run pod repo update then pod install after you've edited your Podfile.

binary "https://raw.githubusercontent.com/cobrowseio/cobrowse-sdk-ios-binary/master/cobrowse-sdk-ios-binary.json" ~> 3.0

Remember to run carthage update --use-xcframeworks after modifying your Cartfile.

Link the CobrowseSDK.xcframework to your main app target that can be found at ./Carthage/Build.

Add CobrowseSDK.xcframework, not CobrowseSDK.framework, to your project to use the SDK for MacOS:

https://github.com/cobrowseio/cobrowse-sdk-ios-binary/releases
import CobrowseSDK
...

CobrowseIO.instance().license = "put your license key here"
CobrowseIO.instance().start()
@import CobrowseSDK;
...

CobrowseIO.instance.license = @"put your license key here";
[CobrowseIO.instance start];

Add your License Key

Please register an account and generate your free License Key at https://cobrowse.io/dashboard/settings.

This will associate sessions from your mobile app with your Cobrowse account.

Try it out

Once you have your app running, navigate to https://cobrowse.io/dashboard to see your device listed. You can click the "Connect" button to initiate a Cobrowse session!

Requirements

  • MacOS 13.0 or later

Last updated