BrainBit for developers Subscribe for updates Visit website

iOS

Samples - GitLab

Latest version: `1.0.23`

The iOS version is designed for OS >= 12.0.

By Pods:

Add to Podspec file:

    
pod 'neurosdk2', '1.0.23'
    

 

And run `pod install` command.

 

You can install framework manually:

For iOS:

  1. download `neurosdk2.xcframework` from [GitHub] from folder iOS
  2. add `neurosdk2.xcframework` to `Frameworks, Libraries, and Embedded Content` section of your project
  3. set `Embedded` to `Embed & Sign`
  4. add path to you framework to Framework search paths

For MacOS:

  1. download libneurosdk.dylib from [GitHub] from folder macos
  2. add libneurosdk.dylib to Frameworks, Libraries, and Embedded Content section of your project
  3. add headers to your project from [GitHub] from folder macos
  4. add path to you library to Library search paths


Then you need to add a key to `Info.plist` because it uses Bluetooth:

    
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Explanation to using bluetooth</string>
    

 

Import library:

import neurosdk2
            
#import <neurosdk2/neurosdk.h>
            

            

            

            

            

            

            

            

            

For XCode 15.xx you need to turn off the sandboxing.