-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update PINCache #769
Update PINCache #769
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving since we're doing the same for PINRemoteImage. Would love to have approval from another maintainer as well, maybe especially @garrettmoon?
Btw, thank you for the diff, @justinswart.
Sure thing, hope it helps someone else! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good, as it's always good to be explicit with dependency versions.
Older PINCache causes runtime erorr sometimes. To avoid this problem, set version of PINCache. refs: TextureGroup/Texture#769
* use newer PINCache to avoid runtime error Older PINCache causes runtime erorr sometimes. To avoid this problem, set version of PINCache. refs: TextureGroup/Texture#769 * use PINCache 3.0.1-beta.6 or later with submodule reference
Similar to the issue described in pinterest/PINRemoteImage#363, I've been experiencing the runtime error
dyld: Symbol not found: _PINDiskCachePrefix
when using Carthage and Texture in my project.The solution described in the referenced issue is to checkout
PINRemoteImage
separately, runcarthage update
and then copy the built frameworks over. This works and appears to be becausePINRemoteImage
referencesPINCache
at the3.0.1-beta.6
release.I've updated Texture's
Cartfile
in this PR to also referencePINCache
at3.0.1-beta.6
. This does appear to solve the runtime error for my project so I'm suggesting this change for others that may experience this crash.