Giter VIP home page Giter VIP logo

Comments (2)

theLastOfCats avatar theLastOfCats commented on July 30, 2024

Same happened here: https://github.com/TechEmpower/FrameworkBenchmarks/actions/runs/9800239092/job/27061835854?pr=9146

Code: https://github.com/theLastOfCats/FrameworkBenchmarks/tree/master/frameworks/Swift/vapor/vapor-swifql

from swift.

rsfinn avatar rsfinn commented on July 30, 2024

I'm experiencing a crash with an identical stack trace. In my case, the crash occurs when building an Xcode project from the command line using xcodebuild, but not when building the same project inside Xcode, and so I came here to report the bug instead of using Apple's bug reporter. I'm using Apple Swift version 5.10 (swiftlang-5.10.0.13, clang-1500.3.9.4) as provided by Xcode 15.4, running on macOS Sonoma 14.5.

The project is large and has a fair amount of proprietary code, so I haven't yet been able to reduce the problem to a smaller test case. But I hope the following information may be useful:

The crash started occurring when I updated my project in response to a recent reorganization of the SwiftSpellbook external packages. When the project initially updated packages to version 1.0.0, I got build errors from both Xcode and xcodebuild of the form
error: Multiple commands produce '...SpellbookMac_67AA899B933055C8_PackageProduct.framework/Versions/A'
and
warning: duplicate output file '...SpellbookFoundation_-6AC965FA4921D22B_PackageProduct.framework/Versions/A' on task: Copy...
(I understand Xcode issues aren't handled here, but I'm trying to explain how I arrived at the compiler crash).

I attempted to work around this by including the SpellbookLaunchctl package in a common framework already used by the targets in question, and re-exporting the package from that framework using @_exported. This seemed to fix the build problem within Xcode, but then I observed the compiler crash when building from the terminal.

from swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.