Wrote docPath and set deployment target to iOS 8.0