[!] The platform of the target Mine (iOS 10.1) is not compatible with Moya/RxSwift (12.0.0), which does not support ios.
Can you share your podfile @UNIQUEXJ? I'll try some example projects with Moya now 馃槙
platform :ios, '10.0'
target '' do
use_frameworks!
I also encountered this problem.
Thanks @zgjff I can reproduce so I'm looking into it
The platform of the target Example (iOS 10.0) is not compatible with Moya/RxSwift (12.0.0), which does not support ios.
Could be related to #1758 and #1766 but I'm still unsure. The deployment targets are set for the RxSwift and ReactiveSwift targets in the xcodeproj. All platforms are supported for the targets in build settings as well
@Moya/core-team Anyone has any ideas as to what's wrong here?
Yeah, so it looks like definingwatchos.deployment_target inside of the subspecs is the culprit. I don't know if we can have different deployment target for different subspecs.
The previous minimum deployment target is 2.0 and RxMoya now requires 3.0. The best solution might be to just make the minimum deployment target 3.0 overall
[!] The platform of the target
Mine(iOS 10.1) is not compatible withMoya/RxSwift (12.0.0), which does not supportios.
platform :ios, '10.1'
use_frameworks!
target 'SwiftProject' do
pod 'Moya/RxSwift'
end
Reopening because this is still broken when downloading from CocoaPods. Installing locally works for me now. Don't think I can fix this tonight
Reopening because this is still broken when downloading from CocoaPods. Installing locally works for me now. Don't think I can fix this tonight
thanks
I'll likely have to ship a 12.0.1 to update the podspec stored at CocoaPods/Specs. I think that's the remaining issue. Very tired of this rabbit hole though 馃槄
Use this method before fix.
pod 'Moya/ReactiveSwift', '~> 11.0.2'
pod 'ReactiveCocoa', '~> 7.0.1'
@UNIQUEXJ @zgjff @Limon-O-O This should be fixed by Moya version 12.0.1. Can you please let me know if that works for you? Really sorry about this 馃槗
I'm going to leave this open for visibility
@SD10 it solved, thanks
Moya 12 is Not working with watchos 4.3 for me. Any solutions??

@andre991 Hey there,
@andre991 Hey there,
- Make sure you are using Moya version 12.0.1
- Try deleting your derived data folder and rebuild
- Make sure your deployment target is set to 3.0 in your project
Hi @SD10, me and @LucianoPAlmeida managed to identify the error, it is in the dependencies in the podspec of MoyaObjectMapper. I'll create a PR there in their github to fix this problem. Thank you.
I think this one is fixed so I'm closing it. Thanks everyone for participation!
Most helpful comment
Hi @SD10, me and @LucianoPAlmeida managed to identify the error, it is in the dependencies in the podspec of MoyaObjectMapper. I'll create a PR there in their github to fix this problem. Thank you.