All Projects β†’ artemnovichkov β†’ Carting

artemnovichkov / Carting

Licence: mit
🚘 A simple tool for updating Carthage script phase

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Carting

Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+5782.42%)
Mutual labels:  xcode, carthage, swift-package-manager
Natrium
A pre-build (Swift) script to alter your Xcode project at pre-build-time per environment, build configuration and target.
Stars: ✭ 131 (-28.02%)
Mutual labels:  xcode, carthage, swift-package-manager
Swiftlyext
SwiftlyExt is a collection of useful extensions for Swift 3 standard classes and types πŸš€
Stars: ✭ 31 (-82.97%)
Mutual labels:  xcode, carthage, swift-package-manager
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (+548.35%)
Mutual labels:  xcode, carthage, swift-package-manager
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (-13.19%)
Mutual labels:  xcode, carthage, swift-package-manager
Xmlmapper
A simple way to map XML to Objects written in Swift
Stars: ✭ 90 (-50.55%)
Mutual labels:  xcode, carthage, swift-package-manager
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+429.12%)
Mutual labels:  xcode, carthage, swift-package-manager
Appicon
AppIcon generates *.appiconset contains each resolution image for iOS
Stars: ✭ 1,454 (+698.9%)
Mutual labels:  xcode, homebrew, swift-package-manager
Alamofire
Elegant HTTP Networking in Swift
Stars: ✭ 36,896 (+20172.53%)
Mutual labels:  xcode, carthage, swift-package-manager
Sqift
Powerful Swift wrapper for SQLite
Stars: ✭ 119 (-34.62%)
Mutual labels:  xcode, carthage
Bettersegmentedcontrol
An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Stars: ✭ 1,782 (+879.12%)
Mutual labels:  carthage, swift-package-manager
Croc
Swift emoji string parsing library
Stars: ✭ 124 (-31.87%)
Mutual labels:  xcode, carthage
Surmagic
πŸš€ The better way to deal with Binary Frameworks on iOS, Mac Catalyst, tvOS, macOS, and watchOS. Create XCFrameworks with ease.
Stars: ✭ 119 (-34.62%)
Mutual labels:  xcode, swift-package-manager
Skeletonview
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
Stars: ✭ 10,804 (+5836.26%)
Mutual labels:  carthage, swift-package-manager
Swift Xcode
Use Swift Package Manager directly from within Xcode, w/o the cmdline
Stars: ✭ 121 (-33.52%)
Mutual labels:  xcode, swift-package-manager
Microfeatures Example
πŸ“¦πŸ“± Example of iOS app built using the uFeatures architecture
Stars: ✭ 112 (-38.46%)
Mutual labels:  xcode, carthage
Shari
Shari is the alternative to the library of UIPickerView(drum roll) in Swift. You can select a item using UITableView.
Stars: ✭ 111 (-39.01%)
Mutual labels:  xcode, carthage
Coregpx
A library for parsing and creation of GPX location files. Purely Swift.
Stars: ✭ 132 (-27.47%)
Mutual labels:  carthage, swift-package-manager
Strap
πŸ‘’ Bootstrap your macOS development system.
Stars: ✭ 1,813 (+896.15%)
Mutual labels:  xcode, homebrew
Ducttape
πŸ“¦ KeyPath dynamicMemberLookup based syntax sugar for Swift.
Stars: ✭ 138 (-24.18%)
Mutual labels:  carthage, swift-package-manager

Carting

Make Swift Package Manager

Do you use Carthage? Are you feel tired of adding special script and the paths to frameworks (point 4, 5 and 6 in Getting Started guide) manually? Me too. Carting does it for you. It scans Carthage folder and linked frameworks, gets framework names and updates the script.

Carting usage

Using

Run carting update in project folder. That's all.

By default Carting searches a script named Carthage, but you can set a name of your script via command line arguments:

$ carting update -s MyBestScript

If there is no script with the name, Carting will add a new one.

Since Xcode 10 Run Script Phases support declaring input and output files in a .xcfilelist file. This file should contain a newline-separated list of the file paths for the inputs or outputs. Carting uses it by default. If you need to work with your projects in old Xcode versions, use -f file option.

🚨Note: be sure to have no uncommitted changes in project file to prevent project parsing errors 😱.

Project parsing error

Run carting --help to see available commands:

OVERVIEW: 🚘 Simple tool for updating Carthage script phase

USAGE: Carting <command> <options>

SUBCOMMANDS:
  info                    Prints Carthage frameworks list with linking description.
  lint                    Lint the project for missing paths.
  update                  Adds a new script with input/output file paths or updates the script named `Carthage`.

Linting

Integrate Carting into an Xcode scheme to get errors displayed in the IDE. Just add a new "Run Script Phase" with:

/usr/local/bin/carting lint

Run Script Phase

Installing

Homebrew (recommended):

$ brew tap artemnovichkov/projects
$ brew install carting

Mint:

$ mint run artemnovichkov/carting

Make:

$ git clone https://github.com/artemnovichkov/carting.git
$ cd Carting
$ make

Swift Package Manager:

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/artemnovichkov/carting", majorVersion: 2)
    ]
)

Author

Artem Novichkov, [email protected]

License

Carting is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].