RxSwiftCommunity / RxRealm

RxSwift extension for RealmSwift's types
MIT License
1.15k stars 263 forks source link

carthage update fails with exit code 65 - xCode 11.6 #151

Closed peterlendvay closed 3 years ago

peterlendvay commented 3 years ago
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:42:1: error: type 'List<Element>' does not conform to protocol 'NotificationEmitter'
extension List: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:42:1: note: do you want to add protocol stubs?
extension List: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:53:1: error: type 'AnyRealmCollection<Element>' does not conform to protocol 'NotificationEmitter'
extension AnyRealmCollection: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:53:1: note: do you want to add protocol stubs?
extension AnyRealmCollection: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:64:1: error: type 'Results<Element>' does not conform to protocol 'NotificationEmitter'
extension Results: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:64:1: note: do you want to add protocol stubs?
extension Results: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:75:1: error: type 'LinkingObjects<Element>' does not conform to protocol 'NotificationEmitter'
extension LinkingObjects: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:75:1: note: do you want to add protocol stubs?
extension LinkingObjects: NotificationEmitter {
^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:197:70: error: extra argument 'on' in call
                let token = collection.toAnyCollection().observe(on: queue) { changeset in
                                                                     ^~~~~
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:517:33: error: tuple pattern cannot match values of the non-tuple type '[PropertyChange]'
                case let .change(_, changedProperties):
                                ^
<project_path>/Carthage/Checkouts/RxRealm/Pod/Classes/RxRealm.swift:547:33: error: tuple pattern cannot match values of the non-tuple type '[PropertyChange]'
                case let .change(_, changes):
                                ^

** ARCHIVE FAILED **

The following build commands failed:
    CompileSwift normal armv7
    CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
    CompileSwift normal arm64
(3 failures)

Any ideas?

rynecheow commented 3 years ago

@peterlendvay Please try again with the latest version >4.0.0