Just a small update, I realised that the upload method was in "STM32duino bootLoader" I then selected serial as the upload method, now the error is like-
Arduino: 1.8.9 (Mac OS X), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)"
Build options changed, rebuilding all
Sketch uses 15232 bytes (23%) of program storage space. Maximum is 65536 bytes.
Global variables use 2488 bytes (12%) of dynamic memory, leaving 17992 bytes for local variables. Maximum is 20480 bytes.
Error probing interface "serial_posix"
stm32flash Arduino_STM32_0.9
Cannot handle device "/dev/cu.usbserial-A800GAP3"
Failed to open port: /dev/cu.usbserial-A800GAP3
https://github.com/rogerclarkmelbourne/arduino_stm32
Using Parser : Raw BINARY
the selected serial port
does not exist or your board is not connected
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.