Issue:
You get the following error when running your build on Bitrise:
_ld: file not found ..._
Possible solutions:
Perform the following steps and after each step check if it has solved your problem:
Restart your Xcode and try a new build.
Try a clean build in Xcode.
Try resetting your simulator(s).
If you use Cocoapods, try updating it:
[sudo] gem install cocoapods
Also make sure that your
Podfile.lock
is committed into your repository. The file describes exactly what versions of Pods you use. Without this file Bitrise might download newer versions of Pods than the ones you use.Try deleting the
Pods
folder in your project and run thepod install
command again.
If none of the above helped, try deleting the Xcode local cache. After that the error should be reproducible on your local machine.
You can delete the local Xcode cache using your Terminal:
rm -rf ~/Library/Developer/Xcode/DerivedData