XCode now keeps the logs from the previous runs handy which is great.
Is t
Xcode stores debug logs at
~/Library/Developer/Xcode/DerivedData//Logs/Debug/
The .xcactivitylog
files are actually just gz
archives. Decompress them:
cd ~/Library/Developer/Xcode/DerivedData//Logs/Debug/
EXT=".xcactivitylog"
for LOG in *.xcactivitylog; do
NAME=`basename $LOG $EXT`
gunzip -c -S $EXT "${NAME}${EXT}" > "${NAME}.log"
done
Now you can easily search them using grep
or Spotlight
or what your prefer.