Adding frameworks to a Plugin (Undefined symbols for architecture i386)

I am trying to implement HeyZap and I get the following error:

Undefined symbols for architecture i386:
“_OBJC_CLASS_$_HeyzapSDK”, referenced from:
objc-class-ref in libplugin_library.a(PluginLibrary.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I drag the HeyZap bundle and framework into Plugin.xcodproj and set its target to plugin_library. I also check that Link Binary with Libraries shows the HeyZap framework.

Any suggestions? [import]uid: 87719 topic_id: 37102 reply_id: 67102[/import]

The problem was that libraries do not allow frameworks to be compiled with them. http://stackoverflow.com/questions/9230315/cocoa-touch-static-library-link-with-standard-frameworks

The solution was to just include the framework in the app project, not the plugin. [import]uid: 87719 topic_id: 37102 reply_id: 145407[/import]

The problem was that libraries do not allow frameworks to be compiled with them. http://stackoverflow.com/questions/9230315/cocoa-touch-static-library-link-with-standard-frameworks

The solution was to just include the framework in the app project, not the plugin. [import]uid: 87719 topic_id: 37102 reply_id: 145407[/import]