tristanhimmelman / AlamofireObjectMapper

An Alamofire extension which converts JSON response data into swift objects using ObjectMapper
MIT License
2.66k stars 474 forks source link

Xcode9 and swift4 Errors #233

Closed wkq87 closed 6 years ago

wkq87 commented 6 years ago

i update to Xcode9 and change the Podfile to pod "AlamofireObjectMapper", :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper.git', :branch => 'swift-4' But when i run pod install, follow error coming: `[!] Unable to satisfy the following requirements:

None of your spec sources contain a spec satisfying the dependency: ObjectMapper (~> 3.0).

You have either:

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.`

joebenton commented 6 years ago

Remove ObjectMapper from your pod file as the pod 'AlamofireObjectMapper' is already linking in ObjectMapper

wkq87 commented 6 years ago

@joebenton thank you, i update the pod repo, and the issue gone