AnderGoig/SwiftInstagram

Value of type 'JSONDecoder' has no member 'keyDecodingStrategy'

ranhsd opened this issue · 1 comments

Hi, I am getting this error after upgrading to the latest version (1.1.1) via cocoapods.

screen shot 2018-04-09 at 22 14 49

I read about it a bit and it looks like a known bug in Swift

https://bugs.swift.org/browse/SR-7180

The problem is that the in older version (1.1.0) I cannot fetch the user media so that's the reason why I upgrade it to the latest one.

That's not a bug.
keyDecodingStrategy is part of Swift 4.1 which is included in Xcode 9.3
update your Xcode and the error will go away