The study consists of two parts, Phase 1A dose escalation and Phase 1B dose optimization. Phase 1A aims to assess the safety, tolerability, pharmacokinetic (PK) profile, and changes in pharmacodynamic (PD) markers in patients treated with ACE-232, and to determine the maximum tolerated dose (MTD), if applicable. In Phase 1B, patients with AR gene alterations will be treated at two different dose levels to establish the recommended Phase 2 dose (RP2D).