Comment on page
MacOS
MacOS SDK
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
pod 'CobrowseIO', '~>2'
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:
https://github.com/cobrowseio/cobrowse-sdk-ios-binary/releases
Don't forget to run
pod repo update
then pod install
after you've edited your Podfile.MacOS (Swift)
MacOS (Objective-C)
import CobrowseIO
func applicationDidFinishLaunching(_ aNotification: Notification)
{
CobrowseIO.instance().license = "put your license key here"
CobrowseIO.instance().start()
}
@import CobrowseIO;
- (void)applicationDidFinishLaunching:(NSNotification *)notification
{
CobrowseIO.instance.license = @"put your license key here";
[CobrowseIO.instance start];
}
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.
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!
- MacOS 10.13 or later
Last modified 1yr ago