Upload
jens-ravens
View
522
Download
1
Embed Size (px)
Citation preview
Working with Xcode and Swift Package Manager
let me = Person(name: "Jens Ravens", company: "nerdgeschoss")
@JensRavens GitHub: JensRavens jensravens.com nerdgeschoss.de
Why use Xcode for development?
- autocompletion - static code analysis - debugger - a day without an Xcode crash is a wasted day.
get all the dependencies
- swiftenv - Xcode 7.3
install the latest version of Swift- $ swiftenv install DEVELOPMENT-SNAPSHOT-2016-02-08-a
create a project and configure it
- create a command line application project in Xcode and copy it to your project folder
- install dependencies with swift build - add header files to search path (in .build/debug/) - add script phase to update dependencies - add static libraries - Have fun!
Demo
Thank you.
@JensRavensbased on https://honzadvorsky.com/articles/2016-02-25-14-00-3_steps_to_marry_xcode_with_swift_package_manager/