How and when did you wean off the swaddle?

Sabrianna

My baby is 4 months and doesn’t care for his swaddle but struggles to sleep without it because he rubs his eyes and upsets himself. I don’t want to hinder his development but I want him to be able to sleep