Open xiaoyu2006 opened 4 years ago
Error while building target ShadowsocksX-NG:'NSTextView' is incompatible with 'weak' references @ Pods/RxCocoa/NSTextView+Rx.swift.
ShadowsocksX-NG
'NSTextView' is incompatible with 'weak' references
Pods/RxCocoa/NSTextView+Rx.swift
Run pod install then build target ShadowsocksX-NG.
pod install
Build succeeded.
One possible solution: update RxSwift and RxCocoa to version 5.
RxSwift
RxCocoa
Podfile:
pod 'RxSwift', '~> 5' pod 'RxCocoa', '~> 5'
See https://github.com/ReactiveX/RxSwift/issues/2125
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 targetShadowsocksX-NG
.Expected behavior
Build succeeded.
System and Shadowsocksx-NG version: (please complete the following information):
Additional context
One possible solution: update
RxSwift
andRxCocoa
to version 5.Podfile: