tristanhimmelman/AlamofireObjectMapper

Swift 4 With ObjectMapper

Closed this issue · 3 comments

I'm trying to use your Swift 4 branch with cocoa pods:

pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper.git', :branch => 'swift-4'

However, the dependency of your library ObjectMapper needs to use the swift-4 branch too but not sure how to achieve that?

The issue I am having is that I am getting compile errors in Xcode 9 with Object Mapper with toIntMac() is unavailable.

Any ideas on how I can get the ObjectMapper pod to use the swift 4 branch along with the swift 4 branch of your library?

I am too facing the same error. Does the pod is ready for swift4 without any error?

wkq87 commented

@joebenton Hi ,I met the same problem. How did your solve this issue and can you tell me the resolution?
Thanks a lot

If I remember, I just used the swift-4 branch, and then de-integrated and re-installed the pods and it seemed to be okay. I think the swift-4 branch has been merged into master and they have released an update since.