facebookarchive / Shimmer

An easy way to add a simple, shimmering effect to any view in an iOS app.
Other
9.35k stars 1.11k forks source link

Not compatible with arm64? #59

Closed charlesfries closed 8 years ago

charlesfries commented 8 years ago

Trying to get Shimmer to work in my Swift project using a bridging header. When I try to implement a FBShimmeringView object in my controller, the linker throws this error:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FBShimmeringView", referenced from:
      type metadata accessor for __ObjC.FBShimmeringView in FeaturedViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Am I correct in assuming this framework is incompatible with the latest iPhone 64-bit processors, or am I missing something here?

grp commented 8 years ago

Shimmer fully supports 64-bit compilation for ARM and x86.

In this case, it looks like you aren't building the source code for Shimmer into your project, only just including the headers with declarations for Shimmer's API. Adding the Shimmer implementation files to your build should fix the issue. You didn't mention if you're using it, but we suggest using CocoaPods to install Shimmer which would avoid many common integration mistakes.