If you just want to generate the schematic, you can omit those and KiCad will generate them for you when you open the file. Probably this is a hack, but worked for me. See Programmatically generating schematic
If you just want to generate the schematic, you can omit those and KiCad will generate them for you when you open the file. Probably this is a hack, but worked for me. See Programmatically generating schematic