Comment on page
The Cobrowse SDK for MacOS is available for installation via several dependency managers, or as a framework to integrate directly into your project:
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:
Don't forget to run
pod repo updatethen
pod installafter you've edited your Podfile.
func applicationDidFinishLaunching(_ aNotification: Notification)
CobrowseIO.instance().license = "put your license key here"
- (void)applicationDidFinishLaunching:(NSNotification *)notification
CobrowseIO.instance.license = @"put your license key here";
This will associate sessions from your mobile app with your Cobrowse account.
- MacOS 10.13 or later