I\'m running on simulator and the app works fine, but once on an iPhone device it crashes with - An error occured in discoverUserInfo::
The discoverUserInfo is copied c
Try generate new provisioning profile in itunes connect with all certificates you need. Then download them from Xcode preferences, but before doing so, delete the old ones, because it will not be replaced by clicking refresh.