After the Xcode update, the compiler began to throw an error on the working code (both functions are in the AppDelegate.swift).
func application(application:
Try overriding that method again from Xcode completions. Worked for me.