When I am trying to run in Xcode 11, getting this error.
file:///Volumes/DATA/Projects/pushbots/sdks/ios-sdk/PushBots/Pushbots.m: runtime: UI API called from background thread: -[UIApplication registerForRemoteNotifications] must be used from main thread only