2017-06-03 7 views
0

Bond 6.2.6をCocoaPodにインストールしました。NSObject + KVO.swiftファイルのSwift Bondコンパイルエラー

<my_proj>\Pods\Bond\Sources\Bond\Shared\NSObject+KVO.swift 

エラー:

.../NSObject+KVO.swift:239:81: Cannot convert value of type '(_, _) -> UnownedUnsafe<NSObject>' to expected argument type '(_, UnownedUnsafe<NSObject>) -> _' 

ソースコード:私のプロジェクトを構築する際 、エラーがファイルに登場している

deallocationDisposable.otherDisposable = object._willDeallocate.reduce(nil, {$1}).observeNext { object in 
    if self.observing { 
    object?.unbox.removeObserver(self, forKeyPath: self.keyPath, context: &self.context) 
    } 
} 

それは私に構築する能力を与えたコメント私のプロジェクト。しかし、おそらくベストプラクティスではないでしょう...

答えて

0

私はXcodeを最新(8.3.2)に更新しました。今それは動作します。

関連する問題