Version 2.4.0 not compiling
Opened this issue ยท 15 comments
The latest update 2.4.0 isn't compiling... There are plenty of errors Type 'DispatchQueue' has no member 'promises'
.
It's very problematic as the Firebase SDK is dependant on Promises 2.1.0 to 2.9.9.
+1, started failing for us when dependency resolution took version 2.4.0, without any code changes since prior release.
+1, We tried to explicitly include the 2.3.1 version but due to other framework dependencies, it will also pick latest one and it leads to duplicate files.
Are you able to share a repro project? I'm trying to reproduce the problem but haven't been able to yet.
Since it is a private repo, I can give the scenario in which it is failing,
This issue we are facing w.r.t 2 repositories.
- We added Firebase as SPM and wanted to update version to use Firestore.
- In other repo our CI ran successfully on same branch earlier and it is failing with below reasons
`โ /Users/builder/clone/Tuist/Dependencies/SwiftPackageManager/.build/checkouts/promises/Sources/Promises/Promise+All.swift:26:30: type 'DispatchQueue' has no member 'promises'
on queue: DispatchQueue = .promises,
^
โ /Users/builder/clone/Tuist/Dependencies/SwiftPackageManager/.build/checkouts/promises/Sources/Promises/Promise+All.swift:41:30: type 'DispatchQueue' has no member 'promises'
on queue: DispatchQueue = .promises,`
+1. Facing the same issue. 2.4.0 isn't compiling...
What Swift version is being used? swift -v
What Swift version is being used?
swift -v
XCode 15.2
Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-macosx14.0
Also i'm facing a problem on the CI because it's downloading the latest version 2.4.0
it's failing with this error
Error: Signing for "Promises_Promises" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'Promises_Promises' from project 'Promises')
building for iOS 16.2 and xcode 14.2
Eventhough a development team is selected and pipeline was working ok before signing and building the application and uploading it to appstore connect
I just uploaded an example project here https://github.com/Nonouf/TestTuistFirebase
You can simply open the workspace and compile to get the errors.
+1. Facing the same issue. 2.4.0 isn't compiling...
Any update here ?
Hey thanks for the reports. Is anyone experiencing this who isn't using Tuist? Or is this isolated to Tuist users?
I am also having this issue, but I also use Tuist
, too.
@Nonouf Which version of tuist are you using? I am still on 3.41.0
Hey thanks for the reports. Is anyone experiencing this who isn't using Tuist? Or is this isolated to Tuist users?
I am experiencing the same issue as @elkhoudiry on Bitrise CI with XCode 15.0.1 building for iOS 15, not using Tuist.
Hey thanks for the reports. Is anyone experiencing this who isn't using Tuist? Or is this isolated to Tuist users?
It's happening with me on GitHub Actions CI
Folks having issue with Tuist should try upgrade to Tuist 4 according to this: tuist/tuist#6036 (comment)