giphy-ios-sdk: 'NSInvalidArgumentException' after presenting GiphyViewController()
I’m trying to present the GiphyViewController() but I get this error:
*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[PINCache containsObjectForKey:]: unrecognized selector sent to instance 0x6000007a2940’
In my AppDelegate (didFinishLaunchingWithOptions) I’m running:
Giphy.configure(apiKey: "my api key")
In my view controller I’m presenting the Giphy UI Controller this way:
let giphy = GiphyViewController()
giphy.mediaTypeConfig = [.gifs, .stickers]
present(giphy, animated: true)
As soon as the Giphy controller appears the application crashes with the error I quoted above. Why is this happening?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (6 by maintainers)
Commits related to this issue
- Merge pull request #104 from Giphy/develop v2.2.2 — committed to Giphy/giphy-ios-sdk by cgmaier 4 years ago
hey all, apologies for this issue. thanks again for your patience. this should be fixed in 2.0.4 which you can get via
and
pod update Giphy
orNo worries, you guys are always super helpful. My deployment target is 13.0 but I still get Giphy 2.0.2 on pod update if that helps any.