evermeer / EVReflection

Reflection based (Dictionary, CKRecord, NSManagedObject, Realm, JSON and XML) object mapping with extensions for Alamofire and Moya with RxSwift or ReactiveSwift
Other
965 stars 119 forks source link

Unusable With Default Settings in XCode 11.4.1 #316

Open a75c6 opened 4 years ago

a75c6 commented 4 years ago

XCode version: 11.4.1 OSX version: 10.15.4

Using a default cocoapods install of the library with version 5.10.1 causes the following error as the library has an iOS 8.0 target:

Screen Shot 2020-04-17 at 6 26 25 PM

Compiling for iOS 8.0, but module 'Alamofire' has a minimum deployment target of iOS 10.0

Screen Shot 2020-04-17 at 7 53 17 PM

Manually setting the value to iOS 10.0 as the minimum leads to compilation errors.

Screen Shot 2020-04-17 at 6 03 18 PM

rahul-inspired-iosdeveloper commented 4 years ago

I am facing the same issue anybody give me quick fix

guilhermebrito commented 4 years ago

what do you do for fix ?

rahul-inspired-iosdeveloper commented 4 years ago

what do you do for fix ?

I couldn't fix that issue, I used the previous version

guilhermebrito commented 4 years ago

i cant use old version, i need to use Rxcocoa 5 with almofire 5 to be compliance with UIWebView ITMS-90809: Deprecated API Usage, i will see what can i do....

rahul-inspired-iosdeveloper commented 4 years ago

i cant use old version, i need to use Rxcocoa 5 with almofire 5 to be compliance with UIWebView ITMS-90809: Deprecated API Usage, i will see what can i do....

Then give a try in the library, if you succeed try to fork and update the repository

ghost commented 4 years ago

Have the same problem migrating to Swift 5 target. Need it to upgrade to RxSwift 5.1.0 due to Apple's deprecation :(

ohadshul-shape commented 4 years ago

still no response?

evermeer commented 4 years ago

I created a branch named VersionBumpTest which uses the latest versions. The Alamofire related compile errors are still there. I could not find a simple fix for these.

I think the file needs to be rewritten similar as was done for: https://github.com/tristanhimmelman/AlamofireObjectMapper/blob/master/AlamofireObjectMapper/AlamofireObjectMapper.swift

Any PR for that would be welcome.

maulikshah09 commented 4 years ago

try this I have solved Using this.. lines

pod 'Alamofire', '~> 4.0' pod 'EVReflection/Alamofire'

rahul-inspired-iosdeveloper commented 4 years ago

Closing this issue.