Ignoring SDWebImage.framework file, lack of required x86_64 architecture

I installed SDWebImage in my Xcode 5 / iOS 7 project, but building gives me the following problem, which will result in a fatal exception:

ignoring file SDWebImage.framework/SDWebImage, missing required architecture x86_64 in file SDWebImage.framework/SDWebImage

SDWebImage, apparently, is the cause of this problem in Google Analytics , and the best solution, apparently, is to reduce arm64 using standard architectures (armv7, armv7s) in the same build settings, I really do not want to do this, and for SDWebImage this the problem is to blame for libwebp , which suggested temporarily abandoning the 3.2 framework.

I am already running the 3.5 framework. Does anyone know how to solve this, or am I sticking to these workarounds?

(Thanks!)

+4
source share
5 answers

This is currently fixed in the main branch, but it is not included in the latest version of .framework. What I did to make it work was:

1) Download the latest version from the main branch (currently https://github.com/rs/SDWebImage/releases/tag/3.5.3 )

2) Remove SDWebImage.framework from my project.

3) Copy the source files from zip (everything inside SDWebImage + files NSData + ImageContentType.h and NSData + ImageContentType.m) to my project.

4) Replace the header includes "SDWebImage ... / ... h"

, , . , 64- ​​ .

+3

SDWebImage 3.7.0 , CocoaPods 0,33.1, SDWebImage

+1

SDWebImage (3.7.1.4)

.

+1

" ", -all_load -ObjC

https://github.com/rs/SDWebImage/issues/494, , libwebp.

0

Just wondering if you are running your application in a simulator? Is there an urgent reason why you should run the simulator using 64-bit mode? I had the same problem as you, but it went away as soon as I started using 32-bit mode. Since the problem looks quite fundamental, perhaps the best thing now is to use the 32-bit simulator mode and wait for the fix.

0
source

All Articles