I am struggling to get my CLI tool (which uses swift tool support core (tsc)) to build with xcodebuild
. Does anyone know what I can try? It fails with:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
CompileSwift normal x86_64
I want to try xcodebuild instead of Xcode because I don't think CLI tool can be notarized through Xcode, so I am hoping xcodebuild
can help notarize the CLI tool.
I also wrote the question up in Stack Overflow here with pictures : https://stackoverflow.com/questions/66823007/swift-tools-support-doesnt-build-with-xcodebuild
Thank you