Comments (8)
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.
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.
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.
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.
I think the reasons is that dependencies are not written in Cartfile.
https://github.com/Quick/Nimble/blob/256e242d294b691103305588cbab176ed617a39e/Cartfile.resolved
from quick.
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.
Oh....
from quick.
The title has been changed.
from quick.
Related Issues (20)
- Is this framework support SwiftUI Unit / UI testing ? HOT 1
- Mutation of captured var 'ocean' in concurrently-executing code HOT 1
- Framework in the release assets doesn't work on Apple Silicon Macs. HOT 6
- `configure(_:)` on a `QuickConfiguration` subclass is not called when you do not have any `QuickSpec`s or `AsyncSpec`s.
- Add visionOS support HOT 3
- Instance member '' cannot be used on type ''
- 'afterEach' cannot be used inside 'it', 'afterEach' may only be used inside 'context' or 'describe' HOT 2
- When testing a class with `@MainActor` annotation the `QuickSpec` doesn't work HOT 1
- Privacy Manifest
- Sometimes TestState crashes for AsyncSpec HOT 1
- Release 7.3.1 is not available through cocoapods source repo/CDN HOT 1
- XCTestPlan with "Automatically include new tests" unchecked HOT 1
- Can't Override Method Spec() HOT 3
- .from in .whereIn subquery incorrectly results in parent entity table HOT 2
- Does Quick support DocC generation?
- Investigate parallelizing test discovery
- `sharedExamples` not available in `AsyncDSLUser` HOT 1
- quick/nimble test case grouping question HOT 2
- Use of undeclared identifier 'World'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quick.