Reject

Binary Rejected

Guideline 2.1 - Performance

We discovered one or more bugs in your app when reviewed on Mac running macOS 10.14.2.

Specifically, the user receives an error occurs when attempting to push a notification.

根据StackOverflow搜索到的解决方案如下:

The Problem is that after the Application is minimized by pressing the x button, there is no way for the user to open it again from the dock.

One way to fix this is to just terminate the Application when the x button is clicked.

I had the same issue and fixed it by adding this function in AppDelegate. This solution is for Swift 4.2

func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
    return true
}

Now the Application terminates, when the x button is clicked.