iOS: <unknown>:0: error: unknown argument: '-enable-batch-mode' Command CompileSwiftSources failed with a nonzero exit code
问题 I have an error message that I don't understand. I downloaded on the www.swift.org the swift toolchain 4.0.3 because I had an error message "Module compiled with Swift 4.0.3 cannot be imported by the Swift 4.2 compiler:" Now, it makes me a different message: CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target: CameraDemo) cd /Users/OlostA/Desktop/Git/r-d/CamBox export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer export SDKROOT=/Applications/Xcode.app