Does ac current produce magnetic field?

Yes; any current produces a magnetic field, an AC current will produce an alternating magnetic field. If the current (and therefore the magnetic field) changes quickly, you may not be able to detect it with a compass needle, for example.