Swif supports macOS 12 or above. If you run the Swif installer on a macOS 11 machine, you will get such an error.
dyld: Symbol not found: _kIOMainPortDefault
Referenced from: /usr/local/swifteam/swifteam (which was built for Mac OS X 14.0)
Expected in: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
Solution: We highly recommend you upgrade macOS to 12 or above. If you still want to run Swif on a macOS 11 machine, we can provide you with the Swif installer that can run on macOS 11. Please ask us at support@swif.ai.