Skip to content
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

Can not use RxSwift.Resources.total with Carthage #1277

Closed
5 of 17 tasks
nahung89 opened this issue May 29, 2017 · 2 comments
Closed
5 of 17 tasks

Can not use RxSwift.Resources.total with Carthage #1277

nahung89 opened this issue May 29, 2017 · 2 comments

Comments

@nahung89
Copy link

nahung89 commented May 29, 2017

Short description of the issue:
I'm using Carthage to manage 3rd libraries. For now, there is no way to run debug with RxSwift.Resources.total.

Expected outcome:
Use RxSwift.Resources.total normally

What actually happens:
in terminal:

carthage build --configuration Debug (or)
carthage bootstrap RxSwift --configuration Debug
*** Downloading RxSwift.framework binary at "David.1"

In XCode:

Error: Module 'RxSwift' has no member named 'Resources'

Self contained code example that reproduces the issue:

  _ = Observable<Int>.interval(1, scheduler: MainScheduler.instance)
            .subscribe(onNext: { _ in
                print("Resource count \(RxSwift.Resources.total)")
            })

RxSwift/RxCocoa/RxBlocking/RxTest version/commit
N/A

Platform/Environment

  • iOS
  • macOS
  • tvOS
  • watchOS
  • playgrounds

How easy is to reproduce? (chances of successful reproduce after running the self contained code)

  • easy, 100% repro
  • sometimes, 10%-100%
  • hard, 2% - 10%
  • extremely hard, %0 - 2%

Xcode version:

  8.3.1

Installation method:

  • CocoaPods
  • Carthage
  • Git submodules

I have multiple versions of Xcode installed:
(so we can know if this is a potential cause of your issue)

  • yes (which ones)
  • no

Level of RxSwift knowledge:
(this is so we can understand your level of knowledge
and formulate the response in an appropriate manner)

  • just starting
  • I have a small code base
  • I have a significant code base
@nahung89 nahung89 changed the title RxSwift.Resources.total with Carthage Can not use RxSwift.Resources.total with Carthage May 29, 2017
@kzaher
Copy link
Member

kzaher commented May 29, 2017

Hi @nahung89 ,

carthage update --no-use-binaries --configuration Debug RxSwift

@tungfam
Copy link

tungfam commented Jan 6, 2018

Hi,

Do you know if it's possible to revert the command:
carthage update --no-use-binaries --configuration Debug RxSwift ?

If yes could you please kindly share how to do it @kzaher ?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants