How to program custom STM32F103 board
SWDIO and SWCLK lines from the ST-Link adapter should be connected to PA13 (pin 34) and PA14 (pin 37) respectively. They are connected to PB13 and PB14 on your schematic. Neither is the 32768 Hz crystal right, it should be connected to PC13 and PC14.