The error doesn't provide much of a context, so I usually change the build destination to "Any iOS Simulator Device (x86_64)" as it might provide more context.