You are receiving a cyclic error.
In Xcode go to your main target (in my case Runner) and then select the 'Build Phases' tab.
Move the 'Embedded Foundation extensions' option above the 'Thin Binary' option.
Should look something like this: