Objectmapper: Swift 4.2 Support with Xcode 10

Created on 17 Sep 2018  路  9Comments  路  Source: tristanhimmelman/ObjectMapper

Most helpful comment

Updating to the latest version resolved this issue for me.

All 9 comments

Updating to the latest version resolved this issue for me.

@johnpool3 What version currently you are using, What can I see form pod spec It still point to 4.0

@techmehra support for swift 4.2 and Xcode 10 added since version 3.3.0

@gcharita I am also using the version 3.3.0 but still getting this
screenshot 2018-09-25 at 11 52 38

How can I upgrade to 3.3,
pod 'ObjectMapper', '~> 3.3'
pod install

Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "ObjectMapper": In Podfile: ObjectMapper (~> 3.3)
my xcode version is 10

For everyone who want to make sure that they have the latest version

  • Check if your Podfile.lock have something like this:
- ObjectMapper (3.3.0)
  • If not, update your regular Podfile to have this:
pod 'ObjectMapper', '3.3' 
  • Then run pod repo update
  • And then run pod install

This is not working for me. I still have a "Convert to Swift 4.2" for only ObjectMapper. I am using 3.3, many pod update/installs/resets/etc. Seems to be an issue with this library in particular.

1012

Swift 4.2 support has now been released

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pcompassion picture pcompassion  路  3Comments

liltimtim picture liltimtim  路  3Comments

nashirox picture nashirox  路  4Comments

zhengying picture zhengying  路  4Comments

loryhuz picture loryhuz  路  4Comments