With the latest update to Xcode (Version 6.1) I received errors about values from optional types not being unwrapped for NSURL() and NSString().   Added ! to fix.