Skip to main content
All CollectionsKnowledge BaseiOS
CocoaPods (missing) dependency issue
CocoaPods (missing) dependency issue
Updated over a week ago

Issue:

ld: library not found for -lPods-...
clang: error: linker command failed with exit code 1 (use -v to see invocation)

OR:

no such module '...'

Possible solutions:

The problem, usually, is that you use Cocoapods but you specified the Xcode project (.xcodeproj) file instead of the Workspace (.xcworkspace) file.

  1. Go to your App’s Workflows tab on Bitrise.

  2. Click Env Vars and change the BITRISE_PROJECT_PATH item. This will change the default Project Path configuration for every workflow.

If it worked before and the BITRISE_PROJECT_PATH did not solve the issue, then check your App’s other Environment Variables. The project file path might be overwritten by a Workflow environment variable, or you might have specified a Project Path for the related Xcode step directly.

Did this answer your question?