shadowsocks / ShadowsocksX-NG

Next Generation of ShadowsocksX
GNU General Public License v3.0
32.35k stars 7.94k forks source link

'NSTextView' is incompatible with 'weak' references #1301

Open xiaoyu2006 opened 4 years ago

xiaoyu2006 commented 4 years ago

Describe the bug

Error while building target ShadowsocksX-NG:'NSTextView' is incompatible with 'weak' references @ Pods/RxCocoa/NSTextView+Rx.swift.

To Reproduce

Run pod install then build target ShadowsocksX-NG.

Expected behavior

Build succeeded.

System and Shadowsocksx-NG version: (please complete the following information):

Additional context

One possible solution: update RxSwift and RxCocoa to version 5.

Podfile:

  pod 'RxSwift',    '~> 5'
  pod 'RxCocoa',    '~> 5'
xiaoyu2006 commented 4 years ago

See https://github.com/ReactiveX/RxSwift/issues/2125