I am getting an extremely frustrating error from the compiler in one of my projects. After changing a few compiler settings for optimization, things were working beautifully, until I tried to test on the simulator. I get this error:
ld: in /Users/eric/Library/Developer/Xcode/DerivedData/My_Awesome_App-
hcpskretrcpxnuctkkvwptohgmib/Build/Intermediates/My_Awesome_App.build/Debug-
iphonesimulator/My_Awesome_App.build/Objects-normal/i386/main.o, could not parse object
file /Users/eric/Library/Developer/Xcode/DerivedData/My_Awesome_App-
hcpskretrcpxnuctkkvwptohgmib/Build/Intermediates/My_Awesome_App.build/Debug-
iphonesimulator/My_Awesome_App.build/Objects-normal/i386/main.o: Malformed metadata record
for architecture i386
I reset the compiler settings as best as I could, but still the error persists. I tried the suggestions in Malformed metadata record for architecture i386 but still nothing. Any other things I can do? Like reset Xcode/LLVM-GCC to defaults?