iOS Question Animated Gif

ldhyob

Member
Licensed User
Longtime User
Compile time appear the following error:

ld: warning: ignoring file ../../Libs/libHHAnimatedGifView.a, missing required architecture i386 in file ../../Libs/libHHAnimatedGifView.a (2 slices)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_HHAnimatedGifView", referenced from:
objc-class-ref in b4i_main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Excuse me what reason be? How to solve? Thank you very much!
 
Upvote 0

ldhyob

Member
Licensed User
Longtime User
Hi,

you are using the simulator, right?
Haris has forgotten to build the library with the simulator SDK, so the i386 architecture is missing.

Just ask him if he can fix it.

Jan
I am on the simulator run! Thank you for your advice!
 
Upvote 0

ldhyob

Member
Licensed User
Longtime User
The library probably doesn't include the i386 (simulator) binary. You will need to run it on a real device.

Note that you can use WebView to show animated gifs.
Thanks for the boss! I'll give it a try.
 
Upvote 0
Top