You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to install Bugsnag in an application using Swift 2. I have installed the library through Cocoapods and adding the import to my bridging header:
On my project we are using Bugsnag through cocoapods with the use_frameworks! directive in our pod file.
platform :ios, '9.0'
use_frameworks!
def pods
pod 'Bugsnag', :git => "https://github.com/bugsnag/bugsnag-cocoa.git"
end
target 'AwesomeApp' do
pods
end
No bridging header required. Just import Bugsnag in your AppDelegate
Then
I'm attempting to install Bugsnag in an application using Swift 2. I have installed the library through Cocoapods and adding the import to my bridging header:
I then attempted to initialize Bugsnag in my AppDelegate:
But Xcode errors with
Use of unresolved identifier 'Bugsnag'
on the line in AppDelegate.In my opinion, Bugsnag should have documentation for using the notifier with Swift as well as Objective-C applications.
The text was updated successfully, but these errors were encountered: