Think you find that when you run from Xcode it using the schema of the "extension" change to the app name schema and the error goes