tristanhimmelman / AlamofireObjectMapper

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

podspec dependency AlamofireObjectMapper fail to lib lint #278

Open tirrorex opened 5 years ago

tirrorex commented 5 years ago

Our private lib has AlamofireObjectMapper has a dependency. Lib lint fails to build even though there is no issue building the project and the lib with xcode directly. Related to this https://github.com/tristanhimmelman/AlamofireObjectMapper/issues/266 The issue is fixed and released but the release was not published on cocoapods. Could you bump the podspec and pod repo push @tristanhimmelman ?

- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
  • NOTE | xcodebuild: note: Using new build system
  • NOTE | [iOS] xcodebuild: note: Planning build
  • NOTE | [iOS] xcodebuild: note: Constructing build description
  • ERROR | xcodebuild: AlamofireObjectMapper/AlamofireObjectMapper/AlamofireObjectMapper.swift:109:42: error: ambiguous use of 'map(JSONObject:)'
  • NOTE | xcodebuild: ObjectMapper.Mapper:9:17: note: found this candidate
  • NOTE | xcodebuild: ObjectMapper.Mapper<τ_0_0>:4:17: note: found this candidate
  • ERROR | xcodebuild: AlamofireObjectMapper/AlamofireObjectMapper/AlamofireObjectMapper.swift:167:44: error: ambiguous use of 'mapArray(JSONObject:)'
  • NOTE | xcodebuild: ObjectMapper.Mapper:12:17: note: found this candidate
  • NOTE | xcodebuild: ObjectMapper.Mapper<τ_0_0>:7:17: note: found this candidate
RomanPodymov commented 5 years ago

Hello @tirrorex

266 was fixed. Could you please check if you get the error with AlamofireObjectMapper 6.1.0?