I want to to check if the swift code of our iOS app is correct, type-checked, on CI. I tried xcodebuild analyze but I have to run it on macos servers, where they have a long queue since they are building other jobs. But the Linux container's queue is empty most of the time, so desirably I want to run the swift command to only running the frontend of the compiler on the iOS code on Linux. Is this possible? What configuration I need? Spoiler the code doesn't have Package.swift file!
Thank you for your time!