Lifting weights with PCOS

My gynecologist told me I should stop lifting weights because it could worsen my PCOS (she states it produces male hormones). She suggested swimming or pilates. Neither swimming nor pilates will give me a dump truck. Should I change gynecologist? lol

On a serious note, I thought lifting weights helped...?