No building permit shall be issued and no building shall be erected on any lot in the city, unless in accordance with the provisions of this ordinance or unless such street had attained the status of a public street prior to the effective date of this ordinance.