i'm trying to use the GMGridView
library, everything works but when i tap in a cell the app crash in a method of the library with this error: [UILongPressGestureRecognizer hasRecognizedValidGesture]:
unrecognized selector sent to instance...
I've tried to add "-ObjC -all_load" tho Other Linker Flags section but this give me an error with another library (MWPhotoBrowser
).
There is someone who have resolved this?
Thank you
You should specify the linker flags:
-ObjC -all_load
(source).
If you are using Xcode 4.2 and LLVM 3.0, only -ObjC
is needed.
For an explanation of why this is necessary, have a look at this S.O. thread.
Look here for steps to set linker flags in Xcode 3. In Xcode 4, you have to select your targets, and then the Build Settings tab in the right pane.