When does dream interpretation appear?

Interpretation of dreams first appeared in Zhouyi.

Zhouyi is the earliest divination book in China. With its special system and expression, it laid a solid foundation for the establishment of technical mathematics in China. In the past, many scholars agreed that Zhouyi was born in the late Shang Dynasty and early Zhou Dynasty. Because there are two kinds of divination in the late Shang Dynasty and the early Zhou Dynasty, it can be basically determined that Zhouyi was born after King Zhao of Zhou, or in the middle and late Western Zhou Dynasty at the earliest, but never in the late Shang Dynasty.

So the emergence of dream interpretation is probably in this era.