hilen / TSWeChat

A WeChat alternative. Written in Swift 5.
MIT License
3.77k stars 791 forks source link

RxSwift某些方法不存在 #57

Open MansionWayh opened 5 years ago

MansionWayh commented 5 years ago

下载下来重新pod之后,然后发现还是运行不了,提示RxSwift某些方法不存在,比如reduceWithSpanBetween reduceWithSpanBetween addingDispatchInterval

CoderLwcXing commented 4 years ago

有没有找到什么原因啊??我也遇到了

xiaozhouboy commented 4 years ago

什么原因 ??

birdmichael commented 4 years ago

我也遇到了

MansionWayh commented 4 years ago

我也遇到了

我解决了,重新编辑下 podFile 文件,然后重新pod 就好了。target 选择iOS10以上。 platform:ios,'10.0' use_frameworks!

target 'TSWeChat' do

pod 'Alamofire', '~> 4.0'
pod 'Kingfisher'
pod 'ObjectMapper', '~> 3.4'
pod 'SwiftyJSON', '~> 4.0'
pod 'Dollar', '9.0.0'
#pod 'Cent', :git => 'https://github.com/ashitanojoe/Cent.git'
pod 'KeychainAccess', '3.2.0'
pod 'UIColor_Hex_Swift', '~> 5.1.0'
pod 'RxCocoa', '~> 5'
pod 'RxSwift'
pod 'RxBlocking', '~> 5'
pod 'XCGLogger', '~> 7.0.0'
pod 'SnapKit', '~> 5.0.0'
pod "BSImagePicker", "~> 2.10.0"
#pod 'ImagePicker'
pod 'TSVoiceConverter', '0.1.6'
pod 'XLActionController', '5.0.0'
pod 'TimedSilver', '1.2.0'

pod 'YYText', '1.0.7'
pod 'SVProgressHUD', '2.0.4'
pod 'INTULocationManager', '4.3.2'

pod 'Reveal-SDK', '~> 4', :configurations => ['Debug']

end

MansionWayh commented 4 years ago

有没有找到什么原因啊??我也遇到了

我解决了,重新编辑下 podFile 文件,然后重新pod 就好了。target 选择iOS10以上。 platform:ios,'10.0' use_frameworks!

target 'TSWeChat' do

pod 'Alamofire', '~> 4.0'
pod 'Kingfisher'
pod 'ObjectMapper', '~> 3.4'
pod 'SwiftyJSON', '~> 4.0'
pod 'Dollar', '9.0.0'
#pod 'Cent', :git => 'https://github.com/ashitanojoe/Cent.git'
pod 'KeychainAccess', '3.2.0'
pod 'UIColor_Hex_Swift', '~> 5.1.0'
pod 'RxCocoa', '~> 5'
pod 'RxSwift'
pod 'RxBlocking', '~> 5'
pod 'XCGLogger', '~> 7.0.0'
pod 'SnapKit', '~> 5.0.0'
pod "BSImagePicker", "~> 2.10.0"
#pod 'ImagePicker'
pod 'TSVoiceConverter', '0.1.6'
pod 'XLActionController', '5.0.0'
pod 'TimedSilver', '1.2.0'

pod 'YYText', '1.0.7'
pod 'SVProgressHUD', '2.0.4'
pod 'INTULocationManager', '4.3.2'

pod 'Reveal-SDK', '~> 4', :configurations => ['Debug']

end

MansionWayh commented 4 years ago

什么原因 ??

我解决了,重新编辑下 podFile 文件,然后重新pod 就好了。target 选择iOS10以上。 platform:ios,'10.0' use_frameworks!

target 'TSWeChat' do

pod 'Alamofire', '~> 4.0'
pod 'Kingfisher'
pod 'ObjectMapper', '~> 3.4'
pod 'SwiftyJSON', '~> 4.0'
pod 'Dollar', '9.0.0'
#pod 'Cent', :git => 'https://github.com/ashitanojoe/Cent.git'
pod 'KeychainAccess', '3.2.0'
pod 'UIColor_Hex_Swift', '~> 5.1.0'
pod 'RxCocoa', '~> 5'
pod 'RxSwift'
pod 'RxBlocking', '~> 5'
pod 'XCGLogger', '~> 7.0.0'
pod 'SnapKit', '~> 5.0.0'
pod "BSImagePicker", "~> 2.10.0"
#pod 'ImagePicker'
pod 'TSVoiceConverter', '0.1.6'
pod 'XLActionController', '5.0.0'
pod 'TimedSilver', '1.2.0'

pod 'YYText', '1.0.7'
pod 'SVProgressHUD', '2.0.4'
pod 'INTULocationManager', '4.3.2'

pod 'Reveal-SDK', '~> 4', :configurations => ['Debug']

end

birdmichael commented 4 years ago

我也遇到了

我解决了,重新编辑下 podFile 文件,然后重新pod 就好了。target 选择iOS10以上。 platform:ios,'10.0' use_frameworks!

target 'TSWeChat' do

pod 'Alamofire', '~> 4.0'
pod 'Kingfisher'
pod 'ObjectMapper', '~> 3.4'
pod 'SwiftyJSON', '~> 4.0'
pod 'Dollar', '9.0.0'
#pod 'Cent', :git => 'https://github.com/ashitanojoe/Cent.git'
pod 'KeychainAccess', '3.2.0'
pod 'UIColor_Hex_Swift', '~> 5.1.0'
pod 'RxCocoa', '~> 5'
pod 'RxSwift'
pod 'RxBlocking', '~> 5'
pod 'XCGLogger', '~> 7.0.0'
pod 'SnapKit', '~> 5.0.0'
pod "BSImagePicker", "~> 2.10.0"
#pod 'ImagePicker'
pod 'TSVoiceConverter', '0.1.6'
pod 'XLActionController', '5.0.0'
pod 'TimedSilver', '1.2.0'

pod 'YYText', '1.0.7'
pod 'SVProgressHUD', '2.0.4'
pod 'INTULocationManager', '4.3.2'

pod 'Reveal-SDK', '~> 4', :configurations => ['Debug']

end

还是不行。。。

chang-guofeng commented 4 years ago

Value of type 'RxTimeInterval' (aka 'DispatchTimeInterval') has no member 'reduceWithSpanBetween' xcode版本:Version 11.1 (11A1027) image

eurake commented 4 years ago

我也遇到了, 更改RxSwift 了不能解决

ManiacMike commented 4 years ago

一样,修改podfile还是报错...

ManiacMike commented 4 years ago

https://github.com/hilen/TSWeChat/issues/54 这里解决了