{"id":15050774,"url":"https://github.com/cocoadebug/cocoadebug","last_synced_at":"2025-05-14T12:07:53.488Z","repository":{"id":37484228,"uuid":"117513852","full_name":"CocoaDebug/CocoaDebug","owner":"CocoaDebug","description":"iOS Debugging Tool 🚀","archived":false,"fork":false,"pushed_at":"2023-06-11T12:45:10.000Z","size":364335,"stargazers_count":4098,"open_issues_count":51,"forks_count":386,"subscribers_count":58,"default_branch":"master","last_synced_at":"2025-04-03T21:08:32.830Z","etag":null,"topics":["cocoadebug","cocoapods","debug","debugger","debugging","debugging-tool","ios","log","logger","logging","logging-library","network","network-analysis","network-monitoring","networking","nslog","objective-c","protocol-buffers","sandbox","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CocoaDebug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-01-15T07:47:38.000Z","updated_at":"2025-04-01T23:31:17.000Z","dependencies_parsed_at":"2023-07-13T12:15:57.913Z","dependency_job_id":null,"html_url":"https://github.com/CocoaDebug/CocoaDebug","commit_stats":{"total_commits":1102,"total_committers":30,"mean_commits":"36.733333333333334","dds":"0.44646098003629764","last_synced_commit":"803c0d233b5bee51adda8a6314df02e2ef5ddc09"},"previous_names":["liman123/debugman"],"tags_count":177,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaDebug%2FCocoaDebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaDebug%2FCocoaDebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaDebug%2FCocoaDebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaDebug%2FCocoaDebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CocoaDebug","download_url":"https://codeload.github.com/CocoaDebug/CocoaDebug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248341585,"owners_count":21087687,"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":["cocoadebug","cocoapods","debug","debugger","debugging","debugging-tool","ios","log","logger","logging","logging-library","network","network-analysis","network-monitoring","networking","nslog","objective-c","protocol-buffers","sandbox","swift"],"created_at":"2024-09-24T21:29:18.840Z","updated_at":"2025-04-11T04:26:42.968Z","avatar_url":"https://github.com/CocoaDebug.png","language":"Swift","readme":"| \u003cimg alt=\"logo\" src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/logo.png\" width=\"250\"/\u003e | \u003cul align=\"left\"\u003e\u003cli\u003e\u003ca href=\"#introduction\"\u003eIntroduction\u003c/a\u003e\u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003cli\u003e\u003ca href=\"#parameters\"\u003eParameters\u003c/a\u003e\u003c/ul\u003e |\n| -------------- | -------------- |\n| Version | [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/CocoaDebug.svg)](https://img.shields.io/cocoapods/v/CocoaDebug.svg) |\n| Platform | ![Platform](https://img.shields.io/badge/platforms-iOS%2012.0+-blue.svg) |\n| Languages | ![Languages](https://img.shields.io/badge/languages-Swift%20%7C%20ObjC-blue.svg) |\n\n\u003cspan style=\"float:none\" /\u003e\n\n## Screenshot\n\n\u003cimg src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a1.png\" width=\"250\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a2.png\" width=\"250\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a3.png\" width=\"250\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a4.png\" width=\"250\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a5.png\" width=\"250\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/pic/a6.png\" width=\"250\"\u003e\n\n## Introduction\n\n- [x] As similar with [Charles](https://www.charlesproxy.com/) in your App.\n\n- [x] Shake to hide or show the black bubble. (Support iPhone device and simulator)\n\n- [x] Share network details via email or copy to clipboard when you are in the *Network Details* page.\n\n- [x] Copy logs. (Long press the text, then select all or select copy)\n\n- [x] Search logs by keyword.\n\n- [x] Long press the black bubble to clean all network logs.\n\n- [x] Detect *UI Blocking*.\n\n- [x] List crash errors.\n\n- [x] List application and device informations, including: *version*, *build*, *bundle name*, *bundle id*, *screen resolution*, *device*, *iOS version*\n\n- [x] List all network requests sent by the application. (Support *JSON* and Google's *Protocol buffers*)\n\n- [x] List all sandbox folders and files, supporting to preview and edit.\n\n- [x] List all *WKWebView* consoles.\n\n- [x] List all *React Native* JavaScript consoles and Native logs.\n\n- [x] List all *print()* and *NSLog()* messages which have been written by developer in Xcode.\n\n## Installation\n\n### *CocoaPods* *(Preferred)*\n\n```ruby\ntarget 'YourTargetName' do\n    use_frameworks!\n    pod 'CocoaDebug', :configurations =\u003e ['Debug']\nend\n```\n\n### *Carthage*\n\n```ruby\ngithub  \"CocoaDebug/CocoaDebug\"\n```\n\n### *Framework*\n\n*[CocoaDebug.framework](https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/CocoaDebug.framework.zip) (Version 1.7.2)*\n\n\u003e WARNING: Never ship a product which has been linked with the CocoaDebug framework. The [Integration Guide](https://github.com/CocoaDebug/CocoaDebug/wiki/Integration-Guide) outline a way to use build configurations to isolate linking the framework to Debug builds.\n\n## Usage\n\n- Don't need to do anything. CocoaDebug will start automatically.\n- To capture logs from Xcode with codes: (You can also set this in *CocoaDebug-\u003eApp-\u003eMonitor-\u003eApplogs* without any codes.)\n```swift\nCocoaDebugSettings.shared.enableLogMonitoring = true //The default value is false\n```\n- Check [AppDelegate.m](https://github.com/CocoaDebug/CocoaDebug/blob/master/Example_Objc/Example_Objc/AppDelegate.m) OR [AppDelegate.swift](https://github.com/CocoaDebug/CocoaDebug/blob/master/Example_Swift/Example_Swift/AppDelegate.swift) for more advanced usage.\n\n## Parameters\n\nWhen you initialize CocoaDebug, you can customize the following parameter values before `CocoaDebug.enable()`.\n\n- `serverURL` - If the captured URLs contain server URL, CocoaDebug set server URL bold font to be marked. Not mark when this value is nil. Default value is **nil**.\n\n- `ignoredURLs` - Set the URLs which should not been captured, CocoaDebug capture all URLs when the value is nil. Default value is **nil**.\n\n- `onlyURLs` - Set the URLs which are only been captured, CocoaDebug capture all URLs when the value is nil. Default value is **nil**.\n\n- `ignoredPrefixLogs` - Set the prefix Logs which should not been captured, CocoaDebug capture all Logs when the value is nil. Default value is **nil**.\n\n- `onlyPrefixLogs` - Set the prefix Logs which are only been captured, CocoaDebug capture all Logs when the value is nil. Default value is **nil**.\n\n- `additionalViewController` - Add an additional UIViewController as child controller of CocoaDebug's main UITabBarController. Default value is **nil**.\n\n- `emailToRecipients` - Set the initial recipients to include in the email’s “To” field when share via email. Default value is **nil**.\n\n- `emailCcRecipients` - Set the initial recipients to include in the email’s “Cc” field when share via email. Default value is **nil**.\n\n- `mainColor` - Set CocoaDebug's main color with hexadecimal format. Default value is **#42d459**.\n\n- `protobufTransferMap` - Protobuf data transfer to JSON map. Default value is **nil**.\n\n## Reference\n\n[https://developer.apple.com/library/archive/samplecode/CustomHTTPProtocol/Introduction/Intro.html](https://developer.apple.com/library/archive/samplecode/CustomHTTPProtocol/Introduction/Intro.html)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoadebug%2Fcocoadebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcocoadebug%2Fcocoadebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoadebug%2Fcocoadebug/lists"}