A treaty must be ratified by Congress. They wouldn’t touch this with a ten foot pole, so what Obama signed was similar to an Executive Order which can be nullified by a future president.
We had a treaty with Iran. Iran pretty much stuck to it. Then Trump picked a noisy fight
that nobody could explain,
and walked away from the treaty. Now Trump has started a war. He's one sick fork.