-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'NSInvalidArgumentException' after presenting GiphyViewController() #104
Comments
hey @DanielZanchi, seems like there could be a mismatch of PINCache versions. not sure how that would arise as the required PINCache version is defined in the can you please clarify
I also recommend trying the following commands:
|
Inside the I tried does commands but they didn't help. |
I tried making a new test app and was not able to reproduce any crash. without additional details or a sample project, I can't help |
What version do you have on your |
Fixed using this in my podfile: |
what version of Giphy were you using before? what Xcode version are you using? |
Xcode version 12.0.1 Before I imported Giphy with pod Giphy |
Same issue after clearing the cache and updating from
Giphy @cgmaier what version of PINCache do you see in your |
For what it's worth this is happening to me as well. Unfortunately I need Giphy 2.0.3 for the fixes to the AV Foundation compilation error with previous versions (so going back to 2.0.1 won't work for me). Looks like if I go pre 2.0.3 I can't compile (AV Foundation error) and if I go 2.0.3 I can't select any Giphy (unrecognized selector error). I'm happy to help and provide any more info if it helps speed things along. Right now I'm in Giphy limbo. |
hey guys, sorry for the lack of support and proper documentation here. I believe this issue is a matter of deployment target. GIPHY 2.0.3 requires iOS 10.2 or above - if your deployment target is below 10.2, CocoaPods won't fetch 2.0.3. I believe there were technically reasons for this change - hopefully this is not overly restrictive. as always, thanks for your patience. we are currently working on a more sustainable system for distributing and maintaining the GIPHY SDK. |
No 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. |
can you check the deployment target in specific target settings rather than project settings? there must be something about your Xcode project or Podfile which is instructing CocoaPods that 10.2 is too restrictive |
My deployment target is 13.2 and I have the latest Giphy pod 2.0.3 (right?) and it's having the same issue.
|
So when I installed the version 2.0.1, this happened.
Why is an older version of PINCache being used with a new version of Giphy? |
I fixed my issue by using |
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
|
I'm trying to present the GiphyViewController() but I get this error:
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:
As soon as the Giphy controller appears the application crashes with the error I quoted above.
Why is this happening?
The text was updated successfully, but these errors were encountered: