It must be attached by a PDF. That is the IRS rules; the IRS does not allow direct e-filing of the form.
Although I do agree it would be nice to be able to attach it directly in the program, rather than the two-step method of printing it to PDF then attaching it.