1

I am trying to incorporate the Glympse Lite iOS SDK v1.0.2 into my app but have run into a problem. I have added the framework and resource bundle, and have been following along with the examples. However when I try to run this line:

bool succeeded = [GlympseLiteWrapper instance].glympse->sendTicket(_glympseTicket, wizardFlags);

I get this exception:

+[NSBundle liteBundle]: unrecognized selector sent to class 0x10f5620

Which appears to be coming from the framework: [GLYConfiguratorViewerOwner ensureWindowCreated] method.

Any ideas what might be causing this crash? (The view that this is being called from is within a UITabBarController if that makes any difference).

Brian Nickel
  • 26,890
  • 5
  • 80
  • 110
ShawnG
  • 123
  • 1
  • 6

1 Answers1

2

This type of error is typically caused by a static framework creating a category on an existing class but the linker failing to include it in the binary.

In build settings, look for Other Linker Flags. First add -ObjC or set the value to $(inherited) -ObjC if blank. If that doesn't work, try $(inherited) -ObjC -all_load. These values cause the linker to load every object file.

Brian Nickel
  • 26,890
  • 5
  • 80
  • 110
  • adding the flag '$(inherited) -ObjC' did the trick, thanks for the fast and excellent help! – ShawnG Jul 26 '13 at 20:08