Xcode Unable to install “XXX“

已标记关键词 清除标记
相关推荐
<div><p>I just updated my machine to the latest macOS and Xcode releases, and Marathon seemed to no longer work:</p> <pre><code>+ marathon install StudyJapanese/Jenkins/buildUnitTests.swift --force  Failed to compile script  Compiling script... </code></pre> <p>I uninstalled and attempted to reinstall, and am getting the following error when running `swift build -c release -Xswiftc -static-stdlib':</p> <pre><code>Shadow:Marathon chris$ swift build -c release -Xswiftc -static-stdlib ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift_static/macosx' ld: warning: Could not find auto-linked library 'swiftFoundation' ld: warning: Could not find auto-linked library 'swiftDarwin' ld: warning: Could not find auto-linked library 'swiftCoreFoundation' ld: warning: Could not find auto-linked library 'swiftIOKit' ld: warning: Could not find auto-linked library 'swiftCore' ld: warning: Could not find auto-linked library 'swiftCoreGraphics' ld: warning: Could not find auto-linked library 'swiftObjectiveC' ld: warning: Could not find auto-linked library 'swiftDispatch' Undefined symbols for architecture x86_64: "_$s10Foundation11JSONDecoderC6decode_4fromxxm_AA4DataVtKSeRzlFTj", referenced from: _$s12MarathonCore14PackageManagerC04makeC4List33_C9DC8CD203C301B495F1198214516A3CLLSayAA0C0VGyF in PackageManager.swift.o _$s12MarathonCore14PackageManagerC06removeC05named20shouldUpdatePackagesAA0C0VSS_SbtKF in PackageManager.swift.o _$s12MarathonCore14PackageManagerC21resolvePinnedPackages33_C9DC8CD203C301B495F1198214516A3CLLSayAA0C0V0F0VGyKF in PackageManager.swift.o "_$s10Foundation11JSONDecoderCACycfc", referenced from: _$s12MarathonCore14PackageManagerC04makeC4List33_C9DC8CD203C301B495F1198214516A3CLLSayAA0C0VGyF in PackageManager.swift.o _$s12MarathonCore14PackageManagerC06removeC05named20shouldUpdatePackagesAA0C0VSS_SbtKF in PackageManager.swift.o .... </code></pre> <p>It goes on like that for <a href="https://github.com/JohnSundell/Marathon/files/3018799/output.txt">a while</a>. I also tried forcing the Swift version to 4.2 (<code>swift build -c release -Xswiftc -static-stdlib -Xswiftc -swift-version -Xswiftc 4.2</code>) and it didn't seem to change anything.</p><p>该提问来源于开源项目:JohnSundell/Marathon</p></div>
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页