Skip to main content
All CollectionsKnowledge BaseGeneral issues
The build works in local but not on bitrise.io
The build works in local but not on bitrise.io
Updated over 4 months ago

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:

  1. Restart your Xcode and try a new build.

  2. Try a clean build in Xcode.

  3. Try resetting your simulator(s).

  4. If you use Cocoapods, try updating it: [sudo] gem install cocoapods

  5. 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.

  6. Try deleting the Pods folder in your project and run the pod 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
Did this answer your question?