Gedatsu provide readable format about AutoLayout error console log

Gedatsu

Gedatsu provide readable format about AutoLayout error console log

Abstract

At runtime Gedatsu hooks console log and formats it to human readable about AutoLayout ambiguous constraints.

Original Gedatsu

Install

Cocoapods

Add the line below to Podfile and execute $ pod install.

pod 'Gedatsu', configuration: %w(Debug)

Carthage

Add the line below to Cartfile and execute any $ carthage checkout && carthage build commands.
e.g.) $ carthage bootstrap --platform iOS.

github "bannzai/Gedatsu"

Swift Package Manager

Gedatsu supports to install via Swift Package Manager.
You can add Gedatsu on Xcode GUI. See document.

Usage

Gedatsu will start when after call Gedatsu.open.
As an good example for iOS project, call Gedatsu.open when AppDelegate.application:didFinishLaunchingWithOptions:.

#if DEBUG
import Gedatsu
#endif

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    #if DEBUG
    Gedatsu.open()
    #endif
    return true
}

Support Versions

platform version
iOS >= 11.0
macOS >= 10.11
Swift >= 5.2

GitHub

https://github.com/bannzai/gedatsu