{"id":15286884,"url":"https://github.com/bugfender/bugfendersdk-ios","last_synced_at":"2025-12-28T01:39:08.587Z","repository":{"id":21978433,"uuid":"25303289","full_name":"bugfender/BugfenderSDK-iOS","owner":"bugfender","description":"Bugfender SDK for iOS, a remote logger tailor-made for mobile","archived":false,"fork":false,"pushed_at":"2025-05-22T07:12:11.000Z","size":268206,"stargazers_count":80,"open_issues_count":3,"forks_count":30,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-06-20T19:26:23.251Z","etag":null,"topics":["bugfender","cocoapods","ios","ios-swift","logging","objective-c","sdk"],"latest_commit_sha":null,"homepage":"https://bugfender.com","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bugfender.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-10-16T13:26:46.000Z","updated_at":"2025-05-22T07:11:06.000Z","dependencies_parsed_at":"2023-01-14T13:15:48.326Z","dependency_job_id":"a775b86e-91ec-44fd-aabb-7b7d2e8cb6cc","html_url":"https://github.com/bugfender/BugfenderSDK-iOS","commit_stats":{"total_commits":319,"total_committers":18,"mean_commits":17.72222222222222,"dds":0.7210031347962382,"last_synced_commit":"d79eda587b2718ae60e2978ae610216733c4c5dd"},"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"purl":"pkg:github/bugfender/BugfenderSDK-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfender%2FBugfenderSDK-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfender%2FBugfenderSDK-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfender%2FBugfenderSDK-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfender%2FBugfenderSDK-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugfender","download_url":"https://codeload.github.com/bugfender/BugfenderSDK-iOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfender%2FBugfenderSDK-iOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262586324,"owners_count":23332837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bugfender","cocoapods","ios","ios-swift","logging","objective-c","sdk"],"created_at":"2024-09-30T15:18:51.266Z","updated_at":"2025-12-28T01:39:08.579Z","avatar_url":"https://github.com/bugfender.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bugfender SDK for iOS [![Docs](https://img.shields.io/badge/docs-%E2%9C%93-blue.svg)](https://docs.bugfender.com/docs/category/ios/)\n===================\n\nBugfender is a cloud service to collect mobile application logs. Developers can control log sending programmatically and manually for each device. Logs are available at the [Bugfender dashboard](https://dashboard.bugfender.com/). You'll need an account.\n\nSupported iOS versions:\n * BugfenderSDK 2.0 works for iOS 12.0 and newer.\n * For iOS 11.0 support you can use BugfenderSDK 1.12.\n * For iOS 10 support you can use BugfenderSDK 1.10.6.\n * For iOS 8 support you can use BugfenderSDK 1.8.\n\n# Using Bugfender\nOnce you have the framework in your project, using it is as easy as using `BFLog()` instead of `NSLog()` or `bfprint()` instead `print()`.\n\n## Swift\n\nIf your application uses SwiftUI and doesn't have an AppDelegate, you might need to create one like this:\n\n```Swift\n@main\nstruct YourAppNameApp: App {\n\n    @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate\n\n    var body: some Scene {\n        WindowGroup {\n            ContentView()\n        }\n    }\n}\n\nclass AppDelegate: NSObject, UIApplicationDelegate {\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -\u003e Bool {\n        Bugfender.activateLogger(\"YOUR_APP_KEY\")\n        Bugfender.enableUIEventLogging() // optional, log user interactions automatically\n        Bugfender.enableCrashReporting() // optional, log crashes automatically\n        bfprint(\"Hello world!\") // use bfprint() as you would use \n        return true\n    }\n}\n```\nThen you may use `BFLog` as you would normally use `NSLog` or `print`.\n\nYou may also want to specify a logging level by using the following helper functions:\n\n- `Bugfender.print(...)`: Default log.\n- `Bugfender.warning(...)`: Warning log.\n- `Bugfender.error(...)`: Error log.\n\n## Objective-C\n\nMake Bugfender available project-wide by adding the following line to the `.pch` file:\n\n```objective-c\n#import \u003cBugfenderSDK/BugfenderSDK.h\u003e\n```\n\nGet an API key from the [Bugfender console](https://app.bugfender.com/). In your `AppDelegate` call [activateLogger](http://cocoadocs.org/docsets/BugfenderSDK/0.3.9/Classes/Bugfender.html#//api/name/activateLogger:) when the application starts, like this:\n\n```objective-c\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    ...\n    // Activate the remote logger with an App Key.\n    [Bugfender activateLogger:@\"YOUR_APP_KEY\"];\n    [Bugfender enableNSLogLogging]; // optional, capture logs printed to console automatically\n    [Bugfender enableUIEventLogging]; // optional, log user interactions automatically\n    [Bugfender enableCrashReporting]; // optional, log crashes automatically\n    BFLog(\"Hello world!\") // use BFLog as you would use NSLog\n    ...\n}\n```\n\nYou may use `BFLog` as you would normally use `NSLog`.\n\nYou may also want to specify a logging level by using the following macros:\n\n- `BFLogFatal(...)`: Fatal log.\n- `BFLogErr(...)`: Error log.\n- `BFLogWarn(...)`: Warning log.\n- `BFLogInfo(...)`: Info log.\n- `BFLog(...)`: Default (debug) log.\n- `BFLogTrace(...)`: Trace log.\n\n# Documentation\nFor information on how to use our SDK, you can check the [documentation](https://docs.bugfender.com/docs/category/ios/) to configure your project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugfender%2Fbugfendersdk-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugfender%2Fbugfendersdk-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugfender%2Fbugfendersdk-ios/lists"}