Adapt the app for Xcode 6 beta 5 (issue #16)