Update # 1:
In addition, I found that the same message appeared in subsequent builds, but the failure was due to invalid Outlets in my storyboard that needed to be renamed or disconnected from the storyboard / controller: Terminating app due to uncaught exception 'NSUnknownKeyException',...
Original answer
In my case, I started to see this problem after adding Firebase modules to my application. After some debugging with a new stub, I fixed my problem by adding a custom URL scheme to enter my URL Types projects at the bottom of the info panel.
As indicated in the instructions:
- Copy value from
REVERSED_CLIENT_ID from your GoogleService-Info.plist - Click on your blue project file
- Go to the "Information" section of the project panel
- At the bottom of the Add New URL panel, enter and paste the copied text into the
URL Schemes field
( Source , Google Instructions) 
Tommie C. Jun 28 '17 at 11:49 on 2017-06-28 11:49
source share