Comments (14)
Do you need the support for FLAnimatedImage?
from pinremoteimage.
no we don't need FLAnimatedImage support, I used "pod 'PINRemoteImage/Core'" as a workaround
from pinremoteimage.
@chriseman sounds like you resolved the issue, I'm going to close this.
from pinremoteimage.
unfortunately now the case has come and we need the support of FLAnimatedImage for another project and we still receive the same error with version '2.1.4'
from pinremoteimage.
I do need FLAnimatedImage
support. Is there any solution to this?
from pinremoteimage.
@garrettmoon any solution to this? Is it possible that the compiler directive #if USE_FLANIMATED_IMAGE
is causing FLAnimatedImage
to not import as a module?
from pinremoteimage.
As far as I know, if you use the "pod 'PINRemoteImage/Core'", then the USE_FLANIMATED_IMAGE flag is set to false, and FLAnimatedImage will not be imported
from pinremoteimage.
Hmm... My intention is to have it imported and it worked until switching to using frameworks. I'm using cocoapods, and I'm curious if there's something being ignored because of this compiler directive. The error is
Include of non-modular header inside framework module 'PINRemoteImage.PINRemoteImageManagerResult'
Which I think implies that the header is trying to import FLAnimatedImageView
as a static framework instead of a module, hence "non-modular". The obvious culprit would be the compiler directive which may be interfering in how the compiler thinks this dependency should be imported.
from pinremoteimage.
Unfortunately I had no time to investigate the problem or the reason causing the compiler error. However what leaves me puzzled is that obviously no one before had this problem using PinRemoteImage inside of a framework.
What Cocoa Pods are you currently using?
from pinremoteimage.
1.0.1
from pinremoteimage.
ok, so at least it has nothing to do with CocoaPods, as I am still on 0.39.0
from pinremoteimage.
when I import SDWebImage in my project second time,It worn that Module FLAnimatedImage not found,and when I pod install ,it warn "... ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES ... - Use the $(inherited)
flag, or - Remove the build settings from the target."
At last, I find the way that remove the SD completely,specialy in the finder ,in the pods' products,and delete the project in the simulator , then import SD again.
from pinremoteimage.
I think we need to mark FLAnimatedImage.h
(and perhaps others) as a public header.
In the meantime, you can set the build option CLANG_ALLOW_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES
as a workaround.
from pinremoteimage.
FLAnimatedImage has been removed from master and GIF support is now built in with PINAnimatedImageView. Is it reasonable to close this now?
from pinremoteimage.
Related Issues (20)
- _OBJC_CLASS_$_PINWebPAnimatedImage solution
- Teste
- Load another image to a UIImageView after one image download has been completed
- duplicate symbol prevent construction of PINRemoteImage using Carthage on apple silicon
- Should set cachePolicy to NSURLRequestReloadIgnoringCacheData accordingly when PINRemoteImageManagerDownloadOptionsIgnoreCache is set HOT 2
- URLProtocol.setProperty(_,forKey:in:) usage creates an error
- Issue with cache cost calculation for UIImage created from Core Image HOT 1
- ios10 crash HOT 1
- Project future/roadmap, slow response times HOT 4
- SPM integration not working on Xcode 13.1 HOT 1
- PINRemoteImageWeakTask memory leak
- Question: AVIF support
- Need a new release HOT 4
- 'PINRemoteImage/PINRemoteImage.h' file not found HOT 6
- Allow providing a custom cache key which overrides the url in pin_setImage(from: URL?) HOT 4
- Doesn't call `canInitWithRequest` on `NSURLProtocol`
- Privacy manifest HOT 1
- Crashed: PINRemoteImageManagerCallbackQueue SIGABRT ABORT 0x00000001ed58742c
- Crashed: PINRemoteImageManagerCallbackQueue SIGABRT ABORT 0x00000001ed58742c
- Ensure certain images will not be purged?
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 pinremoteimage.