Possible Duplicate:
Extract Objective-c binary
My Xcode recently crashed and corrupted my project that contains my app. I am away from my time machine backup, and need to get the files back (if only the raw code). Is there any way to decompile my .app or simulator file to get the code back?
As a part of the build process, Xcode compiles each source class into a
.ofile. There’s no way to open these files, but you can use these complied classes as is.if you can find the
.ofiles or the.alibrary in your build folder, you can import them into a new Xcode project. You can also open those.ofiles in text editor and usually the object names are in the end. I’ve done something like that in order to “borrow” some complied code.It’s more an hack than a solution, and you should do it as a last resort only