You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

swiftproj

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiftproj

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Swiftproj

Gem Build Status

A command-line tool for managing Xcode project with Swift Package Manager. I wrote this to make it easy to deploy to Carthage in a Swift Package Manager only project.

Basic Usage

$ swiftproj help
    version               Displays the current version of swiftproj
    help                  Displays this help message
    configure-scheme      Configures a scheme to have buildable targets only
    add-systemframework   Adds a system framework to an existing target
    remove-framework      Removes a framework from a target
    generate-xcconfig     Generates a Xcode project file
    generate-xcodeproj    Generates a xcconfig file from podspec file

Example

This is an example of generating Xcodeproj file and archiving for Carthage release.

$ swiftproj generate-xcconfig --podspec URLNavigator.podspec
$ swiftproj generate-xcodeproj --xcconfig-overrides Config.xcconfig
$ swiftproj add-system-framework \
    --project URLNavigator.xcodeproj \
    --target QuickSpecBase \
    --framework Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework
$ swiftproj configure-scheme \
    --project URLNavigator.xcodeproj \
    --scheme URLNavigator-Package \
    --targets URLNavigator,URLMatcher
$ carthage build --no-skip-current
$ carthage archive URLNavigator,URLMatcher

Installation

gem install swiftproj

License

Swiftproj is under MIT license. See the LICENSE for more info.

FAQs

Package last updated on 22 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts