Ionic 4 - capacitor - testing out ios build

hello guys, i have a question, currently i was testing out ionic 4, on ios to be specific. im using a blank project and when i tried running the app i get multiple swift errors, i tried changing the swift version from 4.1 to 3.3 but with no use still the same error. am i missing something here?

im sorry if this question is redundant i couldn’t find anything useful for my case.