Latest 0.2.0
Homepage https://github.com/felipe-valio-movile/SwiftGen-Janitor
License MIT
Platforms osx , ios , tvos , watchos
Authors

A command line tool to search your iOS project by unused assets. It consider as "asset" any resouce auto-generated by SwiftGen 5.

Installation

Install via Cocoapods

Add a new pod and run pod install

pod 'SwiftGen-Janitor'

Usage

In your target project go to Build Phases and add a Run Script Phase with the following content:

$PODS_ROOT/SwiftGen-Janitor/swiftgen-janitor -path $SRCROOT -strings Localization -assets ImageAssets

Where Localization is your strings filename and ImageAssets is your assets filename. The tool will read these files and search by any unused strings and images in your code.

Credits

Felipe B. Valio

License

SwiftGen-Janitor is available under the MIT license

Latest podspec

{
    "name": "SwiftGen-Janitor",
    "version": "0.2.0",
    "summary": "A command line tool to search your iOS project by unused assets",
    "description": "SwiftGen-Janitor will warn you about any unused string or image in your project",
    "homepage": "https://github.com/felipe-valio-movile/SwiftGen-Janitor",
    "license": "MIT",
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "http": "https://github.com/felipe-valio-movile/SwiftGen-Janitor/releases/download/0.2.0/swiftgen-janitor.zip"
    },
    "preserve_paths": "*",
    "platforms": {
        "osx": null,
        "ios": null,
        "tvos": null,
        "watchos": null
    }
}

Pin It on Pinterest

Share This