Updated the sample app for Xcode 6

**Reference:** :no_entry_sign: