I accidentally deleted AVFoundation , CoreFoundation , Foundation and UIKit.framework , CoreGraphics.frameworks frameworks form my Xcode. Is there any ways to restore them.
If you haven't emptied your trash, you'll find your frameworks there. In case the deleted frameworks are iOS frameworks just copy/move them back from your trash to your XCode frameworks directory, which would be the following for most installations to date (XCode 5 + iOS 7):
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/
For OS X frameworks the path posted by 555nick may be the right one (haven't tested that though):
/System/Library/Frameworks
Btw: You can fast-open such paths by opening the finder and using the Shift+Cmd+G shortcut.