-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carthage failed to build #208
Comments
If it says "undeclared type" element it seems to me you didn't properly update your Carthage dependencies with Care to share your Cartfile.resolved ? |
Here it is:
|
I run |
FWIW: This weekend I have experienced quite a few (understatement) problems updating my Rx libraries to the latest versions (Swift 5, using Carthage). I ended up removing dependency on RxSwiftExt, and now my project builds fine again. Unfortunately I did not keep the logs, to help you further with what happened, but I'd like to share that I also experienced issues with updated carthage. |
@thang2410199 Please provide a reproducible project with the issue. Thanks. |
I have the same problem with Xcode 10.2.1 .... IntermediateBuildFilesPath/RxSwiftExt.build/Release-iphoneos/RxSwiftExt-iOS.build/Objects-normal/arm64/zipWith.bc ** ARCHIVE FAILED ** The following build commands failed: |
@freak4pc Sorry I forgot to check the thread, I will provide a sample soon. |
I tried again today, build process successes on both sample and prod project. |
Ok, so can we close this? |
@freak4pc I'm still having problems. what are the versions required ?/ I'm running Xcode10.2.1 carthage version 0.33.0 swiftlint 0.32.0 Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5) |
Ok. Seems like we have to include RxRelay in your frameworks. add the framework to Link Binary with Libraries then add new path to your Run script
|
Yeah, that makes sense not only in the context of RxSwiftExt, but also RxCocoa itself. Since RxCocoa depends on RxRelay. |
I am running into this problem today, with similar problems as @Ronaldoh1 when using Carthage. Everything works fine if I remove RxSwiftExt- I also tried this with including ONLY RxSwift and RxSwiftExt in my Cartfile and building from scratch, and the error persists. Build file output: ** ARCHIVE FAILED ** The following build commands failed: I also noticed these errors in the build log:
|
I solved my problem: specify for Carthage to use RxSwift version 5.1.1 instead of newest 6.x |
Thanks ! I'll take a look. |
Hello, I tried to include RxSwiftExt in my carthfile and had some errors, my env:
Xcode 10.2.1 (10E1001)
swiftlint 0.32.0
carthage 0.33.0
My carthfile:
Xcode throws a lots of
Use of undeclared type 'Element'
.The text was updated successfully, but these errors were encountered: