Undefined symbols since upgrading to XCode 8

E Efkan YILMAZ 3 years 7 months ago
7 3 0

Hi,

We are trying to get our mobile code to compile with Rhodes 5.5.0.7 and Xcode 8 but are getting errors such as:

Undefined symbols for architecture arm64:
  "rho::db::CDBAdapter::isTableExist(std::string)", referenced from:
      rho::CNewORMModelImpl::initDbSchema(rho::apiGenerator::CMethodResult&) in libCoreAPI.a(NewORMModelImpl.o)
  "rho::common::CRhoFile::loadTextFile(char const*, std::string&)", referenced from:
      rho::CFileSingletonImpl::read(std::string const&, rho::apiGenerator::CMethodResult&) in libCoreAPI.a(FileImpl.o)
  "rho::common::CRhoFile::readString(std::string&)", referenced from:
      rho::CRhoFileImpl::readAll(rho::apiGenerator::CMethodResult&) in libCoreAPI.a(FileImpl.o)
  "std::string::compare(unsigned long, unsigned long, char const*) const", referenced from:
      CNetworkDetectionBase::SetHost(std::string const&) in libCoreAPI.a(NetworkDetectBase.o)
  "rho::common::CAppMenu::getMenuItemsEx(rho::Vector&, bool)", referenced from:
      rho::CApplicationImpl::getNativeMenu(rho::apiGenerator::CMethodResult&) in libCoreAPI.a(ApplicationImpl.o)
  "std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(ConfigBase.o)
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(network_js_api.o)
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(Network_js_wrap.o)
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(NetworkImpl.o)
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(NetworkImpl.o)
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(NewORMImpl.o)
      std::_Rb_tree::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair const&) in libCoreAPI.a(SystemBase.o)
      ...
  "rho::LogSettings::setExcludeFilter(std::string const&)", referenced from:
      rho::CLogImpl::setExcludeFilter(std::string const&, rho::apiGenerator::CMethodResult&) in libCoreAPI.a(LogImpl.o)

This occurs for each architecture that is built.

The same code works on another mac with XCode 7.3.1 but not XCode 8.0(8A218a)

Any advise very gratefully received.

Thanks
Adam

Please Register or Login to post a reply

3 Replies

M Mark Nongkhlaw

Hi Adam,

Launchpad will be closed to Rho discussions soon. Its better you post in forums.tau-technologies.com

A Adam Shepherd

Thanks Mark, will do.

T TAU TECHNOLOGIES

Hi Adam,

Please try to remove old iphone project ([app root]/project/iphone)
And generate new iphone project using command below

rake build:iphone:setup_xcode_project

If it won't help please create a ticket at http://tautechnologies.zendesk.com
Also you can use our forum http://forums.tau-technologies.com

Regards,
Konstantin

CONTACT
Can’t find what you’re looking for?