How to add deleted frameworks again

前端 未结 4 1037
星月不相逢
星月不相逢 2020-12-10 04:28

I accidentally deleted AVFoundation , CoreFoundation , Foundation and UIKit.framework , CoreGraphics.frameworks frameworks form my Xcode. Is there any ways to restore them.

4条回答
  •  再見小時候
    2020-12-10 05:14

    Ok. So if you have deleted the frameworks from finder as well as from trash here is a solution. If you have another version of xcode installed in your mac then open that. In any of your projects try to add any of the frameworks that you have recently deleted. right click on it and go to the finder window and copy it.

    Now go to the xcode from where the frameworks have been deleted, go to the fnder window in the same process above and paste the framework yoy just copied. i had the same problem as yours and it helped me.

提交回复
热议问题