I have problem with Xcode, keeps giving me a linker error, and it doesn\'t build the project. The following is the error am getting
ld: file not found:
I picked up a project that had this same error. I found that the project name had changed, but the code I had did not reflect that change in the project build settings. To correct, I updated the "Product Name" value (found under targets | Packaging) to the correct value and rebuilt the project. Ran fine.
I had the exact same problem and if you are using cocoapods make sure you open your project with .xcworkspace
not .xcodeproj
, for me it was that simple.
I ended up resolving this in Xcode 7.3 by deleting the Bundle Loader values under Build Settings. Seemed risky, but I noticed the other targets didn't have any such values defined; only the test targets (which were failing to build due to this error).