Yogesh Chauhan's Blog

How to solve “framework not found” error in Swift?

in Swift on 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


Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #3 How to add Read More Read Less Button using JavaScript? #4 How to uninstall Cocoapods from the Mac OS? #5 PHP Login System using PDO Part 1: Create User Registration Page #6 How to Use SQL MAX() Function with Dates?

Recently Posted

#Aug 15 Is PHP still good for back-end programming? #Aug 10 How to create a multisite network in WordPress? #Aug 3 How to create a circle that follows a cursor using JavaScript and CSS? #Aug 3 How to make a curtain slider using jQuery and CSS? #Aug 2 How to progressively load images and add a blurry placeholder? #Aug 1 How to create a placeholder loader (throbber) using CSS?
You might also like these
The simple difference between var, let and const in JavascriptJavaScriptWindow innerHeight and innerWidth properties in JavaScriptJavaScriptHow get_template_part helps write reusable code in WordPress?WordPressThe difference between Class declarations and Class expressions in JavaScriptJavaScriptWordPress: How to setup and get values from an ACF options page?WordPressWhat is Hoisting in JavaScript?JavaScriptA quick introduction to API, REST API and PostmanMiscellaneousHow to add today’s date in HTML input date value using JavaScript?JavaScriptWordPress: How to loop through ACF group fields?WordPressWhat is React? Learn the basicsReactA few HTML coding standards from WordPressHTMLCreate a galley with overlapping images using CSS gridCSS