Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. 5.12 iOS Simulator: Undefined symbols for architecture x86_64
Forum Updated to NodeBB v4.3 + New Features

5.12 iOS Simulator: Undefined symbols for architecture x86_64

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 292 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 Offline
    0 Offline
    0x5FB5
    wrote on last edited by 0x5FB5
    #1

    Trying to build Quick app to simulator, but on building I have an error with Qt lib:

    Undefined symbols for architecture x86_64:
      "_CFAbsoluteTimeGetCurrent", referenced from:
          QEventDispatcherCoreFoundation::updateTimers() in libQt5Core.a(qeventdispatcher_cf.o)
      "_CFArrayAppendValue", referenced from:
          QSslSocketBackendPrivate::initSslContext() in libQt5Network.a(qsslsocket_mac.o)
          QSslSocketBackendPrivate::setSessionCertificate(QString&, QAbstractSocket::SocketError&) in libQt5Network.a(qsslsocket_mac.o)
          QSslSocketBackendPrivate::verifyPeerTrust() in libQt5Network.a(qsslsocket_mac.o)
      "_CFArrayCreate", referenced from:
          macList(QList<QVariant> const&) in libQt5Core.a(qsettings_mac.o)
      "_CFArrayCreateMutable", referenced from:
          QSslSocketBackendPrivate::initSslContext() in libQt5Network.a(qsslsocket_mac.o)
          QSslSocketBackendPrivate::setSessionCertificate(QString&, QAbstractSocket::SocketError&) in libQt5Network.a(qsslsocket_mac.o)
          QSslSocketBackendPrivate::verifyPeerTrust() in libQt5Network.a(qsslsocket_mac.o)
      "_CFArrayGetCount", referenced from:
          QSystemLocale::query(QSystemLocale::QueryType, QVariant) const in libQt5Core.a(qlocale_mac.o)
          qtValue(void const*) in libQt5Core.a(qsettings_mac.o)
          QMacSettingsPrivate::children(QString const&, QSettingsPrivate::ChildSpec) const in libQt5Core.a(qsettings_mac.o)
          QSslSocketBackendPrivate::continueHandshake() in libQt5Network.a(qsslsocket_mac.o)
          QSslSocketBackendPrivate::initSslContext() in libQt5Network.a(qsslsocket_mac.o)
          QSslSocketBackendPrivate::setSessionCertificate(QString&, QAbstractSocket::SocketError&) in libQt5Network.a(qsslsocket_mac.o)
    
    ...
    LONG ERROR LIST
    

    full log
     This error rightly for debug and release mode, just lib names changed.
    I've checked iOS compiler, Qt setting Apple Clang automatically.
    Also, I've change SDK path to simulator instead of Mac (idk, but in iOS mode it points to desktop's files).
    I think it can be a problem with configuration, most of the strings are relate to macOS
    Снимок экрана 2022-08-18 в 11.23.14.png

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved