MacOS
MacOS SDK

Installation

The Cobrowse SDK for MacOS is available for installation via several dependency managers, or as a framework to integrate directly into your project:
Pods
Carthage
Manual
1
pod 'CobrowseIO', '~>2'
Copied!
Carthage support is currently unavailable for our MacOS SDK as Carthage does not yet support XCFrameworks.
Add CobrowseIO.xcframework (not CobrowseIO.framework) to your project to use the SDK for MacOS:
1
https://github.com/cobrowseio/cobrowse-sdk-ios-binary/releases
Copied!
Don't forget to run pod repo update then pod install after you've edited your Podfile.
MacOS (Swift)
MacOS (Objective-C)
1
import CobrowseIO
2
3
func applicationDidFinishLaunching(_ aNotification: Notification)
4
{
5
CobrowseIO.instance().license = "put your license key here"
6
CobrowseIO.instance().start()
7
}
Copied!
1
@import CobrowseIO;
2
3
- (void)applicationDidFinishLaunching:(NSNotification *)notification
4
{
5
CobrowseIO.instance.license = @"put your license key here";
6
[CobrowseIO.instance start];
7
}
Copied!

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 10.10 or later
Any questions at all? Please email us at [email protected].
Last modified 2mo ago