Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add deleted frameworks again

I accidentally deleted AVFoundation , CoreFoundation , Foundation and UIKit.framework , CoreGraphics.frameworks frameworks form my Xcode. Is there any ways to restore them.. or i will have to re-install the Xcode again.

like image 888
Shailesh Avatar asked May 03 '12 14:05

Shailesh


1 Answers

If you haven't emptied the trash yet, close Xcode and open the Trash in Finder. Find the framework folder you accidentally deleted. In Finder, open another window with the path /System/Library/Frameworks (beginning on Macintosh HD if you want to open the folder manually), and drag-copy the framework from the Trash to the Frameworks folder. Reopen Xcode and you should be able to add the framework again in the target settings.

like image 188
555nick Avatar answered Oct 15 '22 09:10

555nick