Mine fixed by quitting xcode and reopening it. Apparently apple is so bad at detecting when internet connection came back. Once xcode can't connect to sign then it can't get notification when internet connection is available again so it can't update targets/projects and leaves you wondering what the heck happened, with all building process broken unable to recover.