Closed giginet closed 3 years ago
Thanks a lot for contributing @giginet! I've invited you to join the RxSwiftCommunity GitHub organization – no pressure to accept! If you'd like more information on what this means, check out our contributor guidelines and feel free to reach out with any questions.
Generated by :no_entry_sign: dangerJS
It works for me. @freak4pc Could you release a newer version?
$ carthage update --platform ios --use-xcframeworks --cache-builds RxSwiftExt
*** Fetching RxSwiftExt
*** Fetching RxSwift
*** Checking out RxSwiftExt at "a42af9caeab63f2dbde318f1f3dc424f05871a37"
*** Checking out RxSwift at "6.1.0"
*** Valid cache found for RxSwift, skipping build
*** Invalid cache found for RxSwiftExt, rebuilding with all downstream dependencies
*** Building scheme "RxSwiftExt-iOS" in RxSwiftExt.xcworkspace
Motivation
I'd like to use this library with Carthage, However, some settings are broken, so we can't build this with Carthage.
There are two problems.
Minimum situation
Xcode 12.4
Cartfile (of an application project)
Carthage build command
Description
I fixed some errors to integrate this library with Carthage.
Cartfile
syntax was brokenPackage.swift
requires 9.0. However, xcodeproj's one was wrong.Rx.xcodeproj
to xcodeproj to solve dependenciesFixes 3 will solve the issue which it can't build this library as XCFramework with Carthage. Current xcodeproj searches
RxSwift.framework
inCarthage/Build/iOS
. However, when it was built with--use-xcframework
options,RxSwift.xcframework
is generated instead. So the project can't find dependencies. I addedRx.xcodeproj
into the xcodeproj as a child project. It will solve this problem.