In recent US government news, Iran allegedly test-fired a missile:
The Iranian regime has just test-fired a medium range ballistic missile that is capable of carrying multiple warheads. The missile has a range that allows it to strike parts of Europe and anywhere in the Middle East. This test violates UN Security Council resolution 2231 that bans Iran from undertaking “any activity related to ballistic missiles designed to be capable of delivering nuclear weapons, including launches using such ballistic missile technology . . .”
Michael R. Pompeo, Secretary of State, State.gov
This confuses me: the US notably pulled out of the Iran deal (related questions: 1, 2, 3), which (as far as I understand) has the implications that Iran no longer has obligations not to develop nuclear weapons. Maybe I'm misunderstanding something.
Question: Does Iran have any remaining obligations regarding UN Security Council resolution 2231 and testing ballistic missiles?