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 Solution to the error “Visual Studio Code can’t be opened because Apple cannot check it for malicious software” #2 How to add Read More Read Less Button using JavaScript? #3 How to check if radio button is checked or not using JavaScript? #4 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #5 PHP Login System using PDO Part 1: Create User Registration Page #6 How to uninstall Cocoapods from the Mac OS?

Recently Posted

#Apr 8 JSON.stringify() in JavaScript #Apr 7 Middleware in NextJS #Jan 17 4 advanced ways to search Colleague #Jan 16 Colleague UI Basics: The Search Area #Jan 16 Colleague UI Basics: The Context Area #Jan 16 Colleague UI Basics: Accessing the user interface
You might also like these
WordPress: How to loop through ACF group fields?WordPressHow to obfuscate JavaScript code to hide it from View Source?JavaScriptHow to add new elements with swing animation using JavaScript and CSS?CSSThe fundamental difference between HAVING and WHERE clauses in PostgresPostgresThe Difference Between the echo and print Commands in PHPPHP5 Ways to Loop Through JavaScript ArraysJavaScript5 Key Principles Of Good Website UsabilityUI/UXReverse a String in JavaScriptJavaScriptHow to detect the Blog Page in WordPress?WordPressKilling A Project Part 1: What criteria should be used to cancel/kill a project?MiscellaneousThe SQL EXISTS OperatorSQL/MySQLWhat’s a page re-rendering in React?React