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:

  1. does xcode have similar recycle bin there file deletions can undone?
  2. 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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -