I\'m Getting this error in Xcode then I try to run my app
Ld /Users/danielsorensen/Library/Developer/Xcode/DerivedData/Keyboard-cimemloksqjdnxhkdziqxwhxgwcg/
Go to project name that given on top. Click on it. Go to "New Scheme" and change the Name to whatever you want.
I got this fixed by selecting the Tests target and searching for Bundle Loader in Build Settings and changing the product name in that path. I got this error because I have changed the Product name. The Bundle loader has the old product name in the path, so it searches for that path.
I got the same error and I solved it by following these steps:
1) Go to the project
2) On the left side bar (in the screen that appears click on Tests
3) Go to the build settings tab and look for "test host"
4) Now the path that appears in the field is probably wrong so you just need to update it to the appropriate one (In my particular case I renamed the project and some folders and so some paths were wrong)
If you still see the error then you might need to fix some other paths in the Build settings tabs.
Go to Project -- > Build Settings --> Testing --> Test Host
Remove the paths from Debug and Release and give the correct path.
If you don't know the correct path just keep it empty and then clean it and build.
This works fine for me.