Name: sc_SwiftScripts
Owner: raywenderlich
Description: A couple of screencasts describing how to write scripts in Swift
Created: 2017-06-14 14:16:34.0
Updated: 2018-03-15 14:18:58.0
Pushed: 2017-06-16 08:44:16.0
Homepage: null
Size: 502
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo demonstrates how you can use Swift to write commandline scripts. It forms the basis of a screencast available at https://videos.raywenderlich.com.
Feel free to say hi: @iwantmyrealname.
samx
To set the toolchain for the current session only:
port DEVELOPER_DIR=/Applications/Xcode9?1.app
To build the RandomStringGeneration directory as a dylib:
iftc -emit-library \
RandomStringGeneration/libRandomStringGeneration.dylib \
arget x86_64-apple-macosx10.13 \
mit-module \
odule-name RandomStringGeneration \
ndomStringGeneration/*.swift
To install cocoapods rome:
m install cocoapods-rome
Then to install the dependency:
d install