Question: could not initialize photoshop cc because an unexpected end-of-file was encountered?
Answer: Photoshop: Cannot launch because "...unexpected end-of-file encountered!" That just means that the file is corrupted or truncated for some reason and cannot be read. ... Try launching with command-option-shift held down to reset Photoshop's preferences.