5.12 iOS Simulator: Undefined symbols for architecture x86_64
Unsolved
Mobile and Embedded
-
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