Updated app to be buildable with the latest xcode