Comments (10)
UPDATE:
For anyone with the same question, I ran pod update --verbose
and realized the 3.0.2 branch of PINCache was being fetched (while the fix is in master
). Adding the following to the podfile fetches the right versions with imports fixed:
pod 'PINCache', :git => 'https://github.com/pinterest/PINCache.git', :branch => 'master'
@garrettmoon I saw that you fixed this issue and merged to master
(π) but the update doesn't seem to reflect in Texture which specifies PINCache as a dependency. Thatβs still pulling the .m
files with @import PINOperation;
. Apologies if I'm missing something stupid. π¬
from pincache.
UPDATE:
For anyone with the same question, I ranpod update --verbose
and realized the 3.0.2 branch of PINCache was being fetched (while the fix is inmaster
). Adding the following to the podfile fetches the right versions with imports fixed:
pod 'PINCache', :git => 'https://github.com/pinterest/PINCache.git', :branch => 'master'
@garrettmoon I saw that you fixed this issue and merged to
master
(π) but the update doesn't seem to reflect in Texture which specifies PINCache as a dependency. Thatβs still pulling the.m
files with@import PINOperation;
. Apologies if I'm missing something stupid. π¬
You're not missing anything β it takes us time to cascade releases all the way down to Texture. I'm working on making this easier so we take less time!
from pincache.
Fixed with 3.0.3.
from pincache.
+1
from pincache.
I believe something is wrong with pod 'PINCache', '3.0.2'
def pod__PINRemoteImage
pod 'PINRemoteImage', '3.0.1', :modular_headers => true
pod 'PINCache', '3.0.1', :modular_headers => true
end
This way it works for me.
from pincache.
What version of Xcode are you using? Can you upload a sample project demonstrating the issue?
from pincache.
@garrettmoon 12 GM or 12.0.1 - both don't work.
PIN.zip
from pincache.
The @import PINOperation; change bring this error to project. The SPM support breaks objc project.
+1
from pincache.
The @import PINOperation; change bring this error to project. The SPM support breaks objc project.
+1
from pincache.
The podfile to reproduce the issue:
platform :ios, '8.0'
inhibit_all_warnings!
target 'pname' do
pod 'AFNetworking/NSURLConnection', '~> 2.0'
pod 'PINCache'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 8.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
end
end
end
end
from pincache.
Related Issues (20)
- PINDiskCache permission error HOT 4
- PINCache - (void)trimToDate:(NSDate *)date There is something wrong with the logic of this method. HOT 3
- Discrepancy between Header Comment and Implementation
- Any plans of stable release?
- PINCache's Carthage seems does not support watchOS HOT 4
- Swift Package Manager compatibility HOT 4
- PINCache doesn't build in Xcode 12 Beta 4 HOT 22
- Error in xcode12 compilation HOT 9
- `make carthage` Fails On Xcode 12 HOT 2
- PINDiskCache: +[moveItemAtURLToTrash:] races with +[emptyTrash]
- Uses +[NSKeyedUnarchiver unarchiveObjectWithData:] which is deprecated when targeting iOS12 HOT 3
- Using MemCache as TTL but not disk cache HOT 2
- +[PINDiskCache moveItemAtURLToTrash:] (PINDiskCache.m:451) Crashed at -[NSURL fileSystemRepresentation] HOT 5
- pincache framework problem with Xcode12.3 version HOT 7
- Allow enumeration of PINCache HOT 3
- Carthage vs SPM differences
- Secure code by using NSSecureCoding instead of NSCoding
- there is a difference
- Privacy manifest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pincache.