xcode8 beta 'Error' is ambiguous for type lookup in this context
问题 According to this article , I need to specify the module to lookup object type , but below function is call from apple api , should I need to wait until Xcode8 really release ? or am I miss anything ? function in AppDelegate.swift Import section 回答1: The Solution is to just type Swift.Error instead of Error . The issue occurs when one of your modules has its own Error Type...:/ For example: func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: