ObjectMapper/Sources/IntegerOperators.swift:100:68:
'toIntMax()' is unavailable
+1
Use the swift-4 branch
Swift 4 pre-downloading fails
pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper.git', :branch => 'swift-4' when using also AlamofireObjectMapper:
[!] Unable to satisfy the following requirements:
ObjectMapper (fromhttps://github.com/Hearst-DD/ObjectMapper.git, branchswift-4) required by PodfileObjectMapper (fromhttps://github.com/Hearst-DD/ObjectMapper.git, branchswift-4) required by PodfileObjectMapper (fromhttps://github.com/Hearst-DD/ObjectMapper.git, branchswift-4) required by PodfileObjectMapper (~> 0.10) required by AlamofireObjectMapper (0.1)+1
This works for me
pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper.git', :branch => 'swift-4'
pod 'ObjectMapper', '~> 3.0'
For me too:
Installing AlamofireObjectMapper 5.0.0 (was 4.1.0)
Installing ObjectMapper 3.0.0 (was 2.2.9)
Thanks a lot.
Please use the latest release, your problems should be resolved.
@phoney Thank You ... its working 馃憤
Most helpful comment
This works for me
pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper.git', :branch => 'swift-4'
pod 'ObjectMapper', '~> 3.0'