Giter VIP home page Giter VIP logo

Comments (12)

leszarna avatar leszarna commented on May 19, 2024 1

@fpillet I've tried your PR and it works very well for me now.

@fpillet Thank you very much for your help.

Thank you @ashfurrow.
This is really excellent piece of abstraction so thank you all working this.

Regards
Leszek

from action.

ashfurrow avatar ashfurrow commented on May 19, 2024 1

No worries, I'll take a look πŸ‘ In the mean time, everything works with the podfile I posted above.

from action.

ashfurrow avatar ashfurrow commented on May 19, 2024

Hi there! I don't think anyone's tested this for Swift 4 yet (I know I haven't). The solution doesn't appear obvious, I'll try to take a look this weekend and get back to you.

from action.

fpillet avatar fpillet commented on May 19, 2024

I'm working on a Swift 4 PR. Coming right up.

from action.

fpillet avatar fpillet commented on May 19, 2024

BTW @leszarna I'm not sure your problem comes from Action itself. Would be nice if you could try and repro once we make the swift4.0 branch available.

from action.

adamsmaka avatar adamsmaka commented on May 19, 2024

Hi guys, I'm newbie with cocoapods and things like that :)
Xcode 9 is stable now so we have Swift 4 officially released. I updated my RxSwift and RxCocoa to use swift4.0 branch, but how can I do it with Action?
When I start pod install I got errors like this:

pod install
Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `RxSwift (from `https://github.com/ReactiveX/RxSwift.git`, branch `swift4.0`)` required by `Podfile`
- `RxSwift (= 4.0.0-beta.0)` required by `Podfile.lock`
- `RxSwift (~> 4.0.0-beta.0)` required by `RxCocoa (4.0.0-beta.0)`
- `RxSwift (~> 4.0.0-alpha.0)` required by `RxDataSources (2.0.0-alpha.0)`
- `RxSwift (~> 2.0.0-beta)` required by `Action (0.1.0)`

from action.

ashfurrow avatar ashfurrow commented on May 19, 2024

Hi @adamsmaka – I'd be happy to help with this. Can you post your Podfile? Or at least the relevant portions of it? It looks like we might need to updated RxDataSources's podspec to point to the new beta: https://github.com/RxSwiftCommunity/RxDataSources/blob/swift4.0/RxDataSources.podspec#L44

from action.

adamsmaka avatar adamsmaka commented on May 19, 2024

of course, here it is

  pod 'RxSwift', git: 'https://github.com/ReactiveX/RxSwift.git', branch: 'swift4.0'
  pod 'RxCocoa', git: 'https://github.com/ReactiveX/RxSwift.git', branch: 'swift4.0'
  pod 'RxDataSources', git: 'https://github.com/RxSwiftCommunity/RxDataSources.git', branch: 'swift4.0'
  pod 'Action'

btw i love your framework veeeery much πŸ˜€πŸ˜

from action.

ashfurrow avatar ashfurrow commented on May 19, 2024

Thanks! I've reproduced the issue and I think it's caused by Action's pre-release not being on CocoaPods trunk. We should probably put Action up on trunk – my machine's setup is... not working right now for Swift 4 😞 @fpillet could you push the current podspec to trunk?

In the mean time, @adamsmaka , you can use Action's pre-release podspec with the following:

  pod 'Action', git: 'https://github.com/RxSwiftCommunity/Action.git', branch: 'master'

I had some issues with the branch names in your pod file, but was able to get CocoaPods working with the following:

  pod 'RxSwift', git: 'https://github.com/ReactiveX/RxSwift.git', branch: 'rxswift4.0-swift4.0'
  pod 'RxCocoa', git: 'https://github.com/ReactiveX/RxSwift.git', branch: 'rxswift4.0-swift4.0'
  pod 'RxDataSources', git: 'https://github.com/RxSwiftCommunity/RxDataSources.git', branch: 'swift4.0'
  pod 'Action', git: 'https://github.com/RxSwiftCommunity/Action.git', branch: 'master'

from action.

fpillet avatar fpillet commented on May 19, 2024

I'm currently on travel, in crunch mode and away from my usual Mac so not possible for me before next monday unfortunately

from action.

adamsmaka avatar adamsmaka commented on May 19, 2024

ok so we are waiting...

from action.

bobgodwinx avatar bobgodwinx commented on May 19, 2024

This is already fixed in #106

from action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.