While the cake bakes, make the frosting. Cut your room-temperature cream cheese into small pieces (about ½-inch cubes). Add them to a clean bowl along with the granulated sugar. Using a whisk or electric mixer on low speed, beat together for 1-2 minutes until the mixture becomes smooth and the sugar dissolves.
The cream cheese should look like soft pudding at this point—it's easier to incorporate the egg yolk when it's this consistency. If your cream cheese was too cold, you'll see small lumps; let the mixture sit for 5 minutes and try again.
Add the egg yolk and vanilla extract. Whisk gently for about 30 seconds until fully incorporated. The frosting should look pale, smooth, and slightly fluffy. Don't overmix here either—you want to avoid incorporating too much air, which can cause cracking.