i failed to integrating plugin-x into xcode. what is my fault?


#1

first of all, sorry for my poor english.
I use cocos2d-x ver 2.1rc0-x-2.1.2. and plugin-x project.
I have intergrated plugin-x into android. it works well.
but on iOS, The glue did not hold.
there is a error. and i can’t solve it. I’m unfamiliar with xcode :
)

Undefined symbols for architecture i386:
  "cocos2d::plugin::PluginManager::loadPlugin(char const*)", referenced from:
      CAnalytics::loadAnalyticsPlugin() in Analytics.o
  "cocos2d::plugin::PluginManager::getInstance()", referenced from:
      CAnalytics::loadAnalyticsPlugin() in Analytics.o
  "cocos2d::plugin::PluginProtocol::setDebugMode(bool)", referenced from:
      CAnalytics::startSession() in Analytics.o
...

I included pluginProtocol xcode project such as cocos2dx xcode project.see below:

what is my fault?
god bless you


pluginxios.jpg (67.6 KB)


#2

oooooooooooooooooooops i have solved


#3

I want to know how you solved it. Currently, I got the same problem as you did before.
I included pluginProtocol xcode project such as cocos2dx xcode project, but I can’t include the header file such as PluginFactory.h, PluginSocial.h and so on.
Please help me.