agross

Apps for Mac

July 2021

Swift Package Manager: Framework not found error message

Recently I changed from Pods to Swift Package Manager. But for Charts I ran into a problem, that cost me hours to find. I think it has nothing to do with Charts itself, the problem was how Xcode integrated the package into the project.

Every time I added Charts, I got following error messages:

ld: framework not found Charts
clang: error: linker command failed with exit code 1 (use -v to see invocation)


The solution is simple: Check the Build Settings of your Target, if "Other Linker Flags" are empty. If not, remove the framework entry.

framework