Open a terminal window and navigate to the location of the Xcode project for your app.
If you do not have a
Cartfile yet, create one with:
Add this line to your
github "bugfender/BugfenderSDK-iOS" ~>1.9
Save the file and run
Then import the framework into your project:
Carthage/Build/iOS/BugfenderSDK.frameworkto your Linked Frameworks and Libraries(or drag-n-drop the file to your project).
- Make sure to select the option “Embed framework” (or list the framework in
- Make sure you have
libc++.tbdthere as well.
Please note: the 1.8 version of the SDK requires Swift 5.1 or better. If you’re on an old version of Swift, you can use SDK version 1.7.0.
Carthage limitation: Carthage does not currently support xcframeworks, so it is not possible to build Catalyst applications with it.
AppDelegate add the following header:
@_exported import BugfenderSDK
Bugfender.activateLogger("YOUR APP KEY") Bugfender.enableCrashReporting() Bugfender.enableUIEventLogging() // optional, log user interactions automatically