How to solve “framework not found” error in Swift?
March 5, 2020

When you install new pods, you might run into this error:

"framework not found (name of the pod)"

It's a normal error and anyone might get this error after installing pods.

Sometimes developers remove Pods.framework from the folder named "Pods" and that error goes away.

But the issue was something else in my case. I had .xcodeproj file open instead of .xcworkspace and I tried to close the .xcodeproj and open the .xcworkspace file and after a while there was no problem at all. So, when we do 'pod install', it creates an .xcworkspace file for some reason, which include everything in it, like folders and files and pods. And I guess the link must be set to open it form .xcworkspace file only otherwise we might need to add some seperate connection to the frameworks and that's why it says framework not found! I am not sure but that's just my assumption.

Just follow this solution: close the .xcodeproj and open the .xcworkspace file from the project folder


Leave a Reply

Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 How to set opacity or transparency using CSS? #3 Pagination in CSS with multiple examples #4 How to make HTML form interactive and using CSS? #5 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #6 How to uninstall Cocoapods from the Mac OS?

Recently Posted

Mar 3 How to embed YouTube or other video links in WordPress? Mar 3 How to change the Login Logo in WordPress? Mar 3 substring() Method in JavaScript Mar 3 Window setInterval() Method in JavaScript Mar 2 How to zoom an element on hover using CSS? Mar 2 the box-sizing property in CSS

You might also like these

Quick Introduction to 11 Array Iteration Methods in JavaScriptJavaScriptSolution for Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code errorMiscHTML Copyright SymbolHTMLReverse a String in JavaScriptJavaScriptHow to vertically align a html radio button to it’s label?CSSFULL OUTER JOIN in PostgresPostgresCrypto.getRandomValues() method in JavaScriptJavaScriptWhat’s a repository on Github?MiscDebugging in WordPress Part 2: WP_DEBUG_LOG and WP_DEBUG_DISPLAYWordPressKubernetes vs. Docker? It’s a misleading phraseMiscCurrencyPipe in Angular 9 with ExamplesAngulartransform-origin Property in CSSCSS