The preferred phrasing is I wish I had known / I wish I had done .... Nevertheless, some people use the forms I wish I would've known / I wish I would've done .... Both have the same meaning.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.