The world’s nuclear watchdog has ruled Iran has failed to comply with its nuclear obligations.