Xcode, deleted .pch file by mistake, can it be recovered? -
as understand it, .pch files responsible precompiling header files. sounds can rebuilt or recreated.
2 questions:
- does xcode have similar recycle bin there file deletions can undone?
- is there direct way rebuild .pch file?
the .pch file simple, , contents depends upon project type. basic idea includes heavyweight header files. xcode doesn't modify file beyond basic template; it'd different template if changed yourself.
for cocoa application, is:
// // prefix header source files of '%s' target in '%s' project // #ifdef __objc__ #import <cocoa/cocoa.h> #endif that's it! can find templates in sdk folder.
ios: /developer/platforms/iphoneos.platform/developer/library/xcode/project templates/
Comments
Post a Comment