SunShine
SunShine
node back to 11.4.0 , works well.
> ios14里重写了`displayLayer:`方法会有问题,看了下,应该是这样改。最下边注释的是原来的,不知道正式版的苹果会不会修复这个问题。 > > ```objc > - (void)displayLayer:(CALayer *)layer { > UIImage *currentFrame = _curFrame; > if (currentFrame) { > layer.contentsScale = currentFrame.scale; > layer.contents = (__bridge id)currentFrame.CGImage; > }...
```swift import YYImage extension YYAnimatedImageView { override open func display(_ layer: CALayer) { let currentFrame = value(forKeyPath: "_curFrame") as? UIImage if currentFrame != nil { layer.contentsScale = currentFrame!.scale layer.contents =...
> Just to give you what solved the problem for me and i would still request a solution that could fix this potential issue with the cocoapods new versions. >...
any workaround for this issue?
`carthage update --use-xcframeworks` should work.
try to build source code and export XCFramework with your Xcode version, it is a work around. or use Xcode14.1 or Xcode14.2 with FB v16.0.0.
There is a work around for cocoapods, add these code in Podfile ``` post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' end end end ```
Why not update your Xcode version to 14.2?
There is a work around for cocoapods, add these code to Podfile ``` post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' end end end ``` It...