Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcodebuild fails on Mac Version OS 12 #501

Open
2 tasks done
typoman opened this issue Jun 2, 2023 · 1 comment
Open
2 tasks done

xcodebuild fails on Mac Version OS 12 #501

typoman opened this issue Jun 2, 2023 · 1 comment

Comments

@typoman
Copy link

typoman commented Jun 2, 2023

Xi-Mac Issue Template

  • I have searched existing issues and could not find my issue.
  • I have studied the documentation.

Details

If your issue is a build or runtime error, please include the following:

xi-mac > xcodebuild
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph

Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 0.0.6


Computing target dependency graph and provisioning inputs

Create build description
Build description signature: 62f36cfb327b55ac7a648054a84ddd8c
Build description path: Downloads/xi-mac/build/XCBuildData/62f36cfb327b55ac7a648054a84ddd8c-desc.xcbuild

warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
Downloads/xi-mac/XiEditor.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'XiCLICore' from project 'XiEditor')
SwiftDriver XiCLICore normal arm64 com.apple.xcode.tools.swift.compiler (in target 'XiCLICore' from project 'XiEditor')
    cd Downloads/xi-mac
    builtin-SwiftDriver -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name XiCLICore -O -whole-module-optimization -enforce-exclusivity\=checked @Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.SwiftFileList -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -target arm64-apple-macos10.11 -enable-bare-slash-regex -g -Xfrontend -serialize-debugging-options -swift-version 5 -I Downloads/xi-mac/build/Release -F Downloads/xi-mac/build/Release/PackageFrameworks -F Downloads/xi-mac/build/Release -c -num-threads 16 -output-file-map Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftmodule -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/swift-overrides.hmap -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-generated-files.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-own-target-headers.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/all-product-headers.yaml -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-project-headers.hmap -Xcc -IDownloads/xi-mac/build/Release/include -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources-normal/arm64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources/arm64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources -emit-objc-header -emit-objc-header-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-Swift.h -working-directory Downloads/xi-mac

SwiftDriver XiCLICore normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'XiCLICore' from project 'XiEditor')
    cd Downloads/xi-mac
    builtin-SwiftDriver -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name XiCLICore -O -whole-module-optimization -enforce-exclusivity\=checked @Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.SwiftFileList -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -target x86_64-apple-macos10.11 -enable-bare-slash-regex -g -Xfrontend -serialize-debugging-options -swift-version 5 -I Downloads/xi-mac/build/Release -F Downloads/xi-mac/build/Release/PackageFrameworks -F Downloads/xi-mac/build/Release -c -num-threads 16 -output-file-map Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftmodule -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/swift-overrides.hmap -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-generated-files.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-own-target-headers.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/all-product-headers.yaml -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-project-headers.hmap -Xcc -IDownloads/xi-mac/build/Release/include -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources-normal/x86_64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources/x86_64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources -emit-objc-header -emit-objc-header-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-Swift.h -working-directory Downloads/xi-mac

SwiftCompile normal arm64 Compiling\ Xi.swift,\ RuntimeError.swift,\ CLIHelper.swift Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift (in target 'XiCLICore' from project 'XiEditor')
    cd Downloads/xi-mac
    builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift -emit-module-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftmodule -emit-module-doc-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftdoc -emit-module-source-info-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftsourceinfo -emit-dependencies-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-master.d -serialize-diagnostics-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-master.dia -emit-objc-header-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-Swift.h -emit-abi-descriptor-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.abi.json -target arm64-apple-macos10.11 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I Downloads/xi-mac/build/Release -F Downloads/xi-mac/build/Release/PackageFrameworks -F Downloads/xi-mac/build/Release -no-color-diagnostics -g -swift-version 5 -enforce-exclusivity\=checked -O -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc Downloads/xi-mac -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/swift-overrides.hmap -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-generated-files.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-own-target-headers.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/all-product-headers.yaml -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-project-headers.hmap -Xcc -IDownloads/xi-mac/build/Release/include -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources-normal/arm64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources/arm64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources -module-name XiCLICore -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -num-threads 16 -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/Xi.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/RuntimeError.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/CLIHelper.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/Xi.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/RuntimeError.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/CLIHelper.o

CompileSwift normal arm64 (in target 'XiCLICore' from project 'XiEditor')
    cd Downloads/xi-mac
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift -emit-module-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftmodule -emit-module-doc-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftdoc -emit-module-source-info-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.swiftsourceinfo -emit-dependencies-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-master.d -serialize-diagnostics-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-master.dia -emit-objc-header-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore-Swift.h -emit-abi-descriptor-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/XiCLICore.abi.json -target arm64-apple-macos10.11 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I Downloads/xi-mac/build/Release -F Downloads/xi-mac/build/Release/PackageFrameworks -F Downloads/xi-mac/build/Release -no-color-diagnostics -g -swift-version 5 -enforce-exclusivity\=checked -O -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc Downloads/xi-mac -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/swift-overrides.hmap -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-generated-files.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-own-target-headers.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/all-product-headers.yaml -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-project-headers.hmap -Xcc -IDownloads/xi-mac/build/Release/include -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources-normal/arm64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources/arm64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources -module-name XiCLICore -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -num-threads 16 -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/Xi.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/RuntimeError.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/CLIHelper.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/Xi.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/RuntimeError.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/arm64/CLIHelper.o
Downloads/xi-mac/Sources/XiCLICore/Xi.swift:15:8: error: no such module 'ArgumentParser'
import ArgumentParser
       ^

SwiftCompile normal x86_64 Compiling\ Xi.swift,\ RuntimeError.swift,\ CLIHelper.swift Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift (in target 'XiCLICore' from project 'XiEditor')
    cd Downloads/xi-mac
    builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift -emit-module-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftmodule -emit-module-doc-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftdoc -emit-module-source-info-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftsourceinfo -emit-dependencies-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-master.d -serialize-diagnostics-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-master.dia -emit-objc-header-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-Swift.h -emit-abi-descriptor-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.abi.json -target x86_64-apple-macos10.11 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I Downloads/xi-mac/build/Release -F Downloads/xi-mac/build/Release/PackageFrameworks -F Downloads/xi-mac/build/Release -no-color-diagnostics -g -swift-version 5 -enforce-exclusivity\=checked -O -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc Downloads/xi-mac -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/swift-overrides.hmap -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-generated-files.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-own-target-headers.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/all-product-headers.yaml -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-project-headers.hmap -Xcc -IDownloads/xi-mac/build/Release/include -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources-normal/x86_64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources/x86_64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources -module-name XiCLICore -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -num-threads 16 -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/Xi.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/RuntimeError.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/CLIHelper.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/Xi.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/RuntimeError.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/CLIHelper.o

CompileSwift normal x86_64 (in target 'XiCLICore' from project 'XiEditor')
    cd Downloads/xi-mac
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift -emit-module-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftmodule -emit-module-doc-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftdoc -emit-module-source-info-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.swiftsourceinfo -emit-dependencies-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-master.d -serialize-diagnostics-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-master.dia -emit-objc-header-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore-Swift.h -emit-abi-descriptor-path Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/XiCLICore.abi.json -target x86_64-apple-macos10.11 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I Downloads/xi-mac/build/Release -F Downloads/xi-mac/build/Release/PackageFrameworks -F Downloads/xi-mac/build/Release -no-color-diagnostics -g -swift-version 5 -enforce-exclusivity\=checked -O -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc Downloads/xi-mac -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/swift-overrides.hmap -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-generated-files.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-own-target-headers.hmap -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/all-product-headers.yaml -Xcc -iquote -Xcc Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/XiCLICore-project-headers.hmap -Xcc -IDownloads/xi-mac/build/Release/include -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources-normal/x86_64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources/x86_64 -Xcc -IDownloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/DerivedSources -module-name XiCLICore -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -num-threads 16 -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/Xi.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/RuntimeError.o -o Downloads/xi-mac/build/XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/CLIHelper.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/Xi.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/RuntimeError.o -index-unit-output-path /XiEditor.build/Release/XiCLICore.build/Objects-normal/x86_64/CLIHelper.o
Downloads/xi-mac/Sources/XiCLICore/Xi.swift:15:8: error: no such module 'ArgumentParser'
import ArgumentParser
       ^

Downloads/xi-mac/XiEditor.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'XiCLI' from project 'XiEditor')
Downloads/xi-mac/XiEditor.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1.99. (in target 'XiCore' from project 'XiEditor')
** BUILD FAILED **


The following build commands failed:
	CompileSwift normal arm64 (in target 'XiCLICore' from project 'XiEditor')
	SwiftCompile normal arm64 Compiling\ Xi.swift,\ RuntimeError.swift,\ CLIHelper.swift Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift (in target 'XiCLICore' from project 'XiEditor')
	SwiftCompile normal x86_64 Compiling\ Xi.swift,\ RuntimeError.swift,\ CLIHelper.swift Downloads/xi-mac/Sources/XiCLICore/Xi.swift Downloads/xi-mac/Sources/XiCLICore/RuntimeError.swift Downloads/xi-mac/Sources/XiCLICore/CLIHelper.swift (in target 'XiCLICore' from project 'XiEditor')
	CompileSwift normal x86_64 (in target 'XiCLICore' from project 'XiEditor')
(4 failures)
xi-mac > 

Expected vs Actual

xcodebuild fails instead of making the mac os app.

@w0nder1ng
Copy link

I'm on macOS version 13.5 (22G74) and I had the same error. I managed to get it working with these steps:

First, replace the target version in Xi-Editor with your version of macOS (or the latest supported by ArgumentParser):
perl -p -i -e "s/MACOSX_DEPLOYMENT_TARGET = \d*\.\d*/MACOSX_DEPLOYMENT_TARGET = 13.3/g" XiEditor.xcodeproj/project.pbxproj

Then, open the project in Xcode:
open XiEditor.xcodeproj

Then, build the project using Xcode (either with command+B or via Product -> Build)

If it has built successfully, the app should be in ~/Library/Developer/Xcode/DerivedData/XiEditor-[letters]/Build/Products/Release/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants