Sphero的错误 - iOS

时间:2014-04-07 20:41:56

标签: ios sphero-api sphero

当我尝试在iPad上运行我的应用程序(连接到Sphero)时,我遇到了22个错误:

Undefined symbols for architecture armv7:
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
      __GLOBAL__I_a in RobotKit(RKAchievementManager.o)
  "operator new[](unsigned long)", referenced from:
      RKAchievementManager::getAchievements() in RobotKit(RKAchievementManager.o)
      RKAchievementManager::wsCallLoaded(std::string, std::string, std::string, std::string, int) in RobotKit(RKAchievementManager.o)
  "std::string::append(char const*, unsigned long)", referenced from:
      RKAchievementManager::pullAchievements() in RobotKit(RKAchievementManager.o)
      RKAchievementManager::updateAchievementProgress() in RobotKit(RKAchievementManager.o)
      RKAchievementManager::pushAchievements() in RobotKit(RKAchievementManager.o)
      RKAchievementManager::getBallName() in RobotKit(RKAchievementManager.o)
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in RobotKit(RKAchievementManager.o)
  "std::ios_base::Init::Init()", referenced from:

1 个答案:

答案 0 :(得分:0)

将部署目标设置为iOS 6.0。确保你有链接器标志-lstdc ++