I\'m trying to create a new folder, but I can\'t figure out how to use createDirectoryAtPath correctly.
According to the documentation, this is the correct syntax:>
You forgot to add defaultManager()
and to convert the NSURL to String.
You can try replacing
NSFileManager.createDirectoryAtPath(deliverablePath, withIntermediateDirectories: false, attributes: nil, error: nil)
with this (converting your NSURL to String)
var deliverablePathString = deliverablePath.absoluteString
NSFileManager.defaultManager().createDirectoryAtPath(deliverablePathString, withIntermediateDirectories: false, attributes: nil, error: nil)
Hope this helps