It shall be unlawful for any person, firm or corporation to construct, alter, repair, move, remove, demolish, equip, use, occupy or maintain any plot, building or portion thereof in violation of any provision of this chapter or fail in any manner to comply with a notice, directive or order of the enforcement officer or to construct, alter or use or occupy any plot, building or structure or part thereof in a manner not permitted by an approved building permit or certificate of occupancy.