Iran is not Turkey.
When Iran was put under sanctions, Iran did not care for "agreement". It used the technologies it had bought from Siemens previously, to manufacture turbines without asking for "permission".
Iran is an independent country that respects others and their agreements as long as they respect Iran.
And the F-16 are assembled in Turkey. Manufacturing components from raw materials is something else. Technology cycle means, starting from minerals and simple raw materials and work your way up to a finished product.