Giter Club home page Giter Club logo

Comments (8)

soranoba avatar soranoba commented on June 9, 2024

If I use these versions and --no-use-binaries, it compile succeeded. 🤔

github "Quick/Nimble" "v13.0.0"
github "Quick/Quick" "v7.3.0"

from quick.

younata avatar younata commented on June 9, 2024

In Nimble 13.1 (December 2023), we switched to pull in CwlPreconditionTesting transitively using SPM (Quick/Nimble#1108). This works in Carthage 0.39.1 (released in September 2023), and Xcode 15.3:

$ carthage update --no-use-binaries --use-xcframeworks
*** Fetching Nimble
*** Fetching Quick
*** Checking out Quick at "v7.4.1"
*** Checking out Nimble at "v13.2.1"
*** xcodebuild output can be found in /var/folders/_v/6_5lvql10ks78qc_3r52m7500000gn/T/carthage-xcodebuild.60frDa.log
*** Building scheme "Nimble" in Nimble.xcodeproj
*** Building scheme "Quick" in Quick.xcworkspace
$ echo $?
0

I haven't checked if this is broken when using older versions of Carthage, but maybe the older versions of Carthage are unable to deal with SPM-based dependencies?

from quick.

soranoba avatar soranoba commented on June 9, 2024

The compile error occurs when I run the test in Xcode. (carthage build successeded)
I will try increasing the version of carthage and check it.

from quick.

younata avatar younata commented on June 9, 2024

Oh. Actually, after trying to embed it in a test app, it looks like there's some bug in... somewhere? Xcode? Carthage? Nimble's configuration? causing CWLPreconditionTesting to not be embedded? You can work around this by adding the CwlPreconditionTesting manually as a swift package to your test's dependencies (the URL is https://github.com/mattgallagher/CwlPreconditionTesting, and you'll need version 2.2.0 or later). What a terrible experience. I'm sorry.

from quick.

soranoba avatar soranoba commented on June 9, 2024

I think the reasons is that dependencies are not written in Cartfile.
https://github.com/Quick/Nimble/blob/256e242d294b691103305588cbab176ed617a39e/Cartfile.resolved

from quick.

younata avatar younata commented on June 9, 2024

Yes, because those dependencies no longer support Carthage. Nimble 13 and earlier were using an older version of those testing aids from when they did support Carthage.

from quick.

soranoba avatar soranoba commented on June 9, 2024

Oh....

from quick.

soranoba avatar soranoba commented on June 9, 2024

The title has been changed.

from quick.

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.