Israel’s military said its attack on Friday targeted sites “in the heart of Tehran” used by Iran to produce ballistic missiles and other weapons.