Reputation: 1393
did anyone face RxSwift crash on XCode 9.3? here is the function that causes the problem
func setupValidation(result: Variable<ValidationState>, testValues: Observable<Bool>...) {
let disposeBag: DisposeBag = DisposeBag()
Validation
.combine(testValues)
.bind(to: result)
.disposed(by: disposeBag)}
here is the error:
Undefined symbols for architecture arm64: "(extension in RxCocoa):RxSwift.ObservableType.bind(to: RxSwift.Variable) -> RxSwift.Disposable"
Upvotes: 1
Views: 576
Reputation: 2774
Probably related to this. Try adding adding import RxCocoa
and import RxSwift
to the unit test files to solve the linker build error.
Upvotes: 1