[Interest] Qt 5.5 for ios: frameworks support seems to be broken

Nuno Santos nunosantos at imaginando.pt
Fri Jul 10 01:43:48 CEST 2015


Thiago,

When I first compile my app project, working perfectly on Qt 5.4, on Qt 5.5 I had it complaining about Bolts not found. Bolts is a framework provided by Parse. I have commented out Bolts and then it complained about AdSupport. I have commented AdSupport and then it complained about MobileCoreServices. 

Parse and Bolts are 3rd party frameworks and with Qt 5.4 and below, I usually need to copy the frameworks onto the Xcode dir under iPhoneOS SDK folders. 

However, AdSupport and MobileCore services are iOS frameworks. This shouldn’t be a problem. 

This is the output of the build process. At bold you have the path to the place where the Frameworks are. Still, it complains about not being able to find them...

Ld .build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK normal arm64
    cd /tmp/build-lk-iphoneos_clang_Qt_5_5_0_for_iOS-Debug
    export IPHONEOS_DEPLOYMENT_TARGET=5.1.1
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk -L/private/tmp/build-lk-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/Debug-iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/System/Library/Frameworks -L/Users/nsantos/Dropbox/workspace/lk/ios/gctsdk -L/Users/nsantos/Qt/5.5/ios/plugins/platforms -L/Users/nsantos/Qt/5.5/ios/lib -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick.2 -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Controls -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Window.2 -L/Users/nsantos/Qt/5.5/ios/qml/QtPurchasing -L/Users/nsantos/Qt/5.5/ios/qml/QtMultimedia -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Layouts -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Dialogs -L/Users/nsantos/Qt/5.5/ios/qml/Qt/labs/folderlistmodel -L/Users/nsantos/Qt/5.5/ios/qml/Qt/labs/settings -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Dialogs/Private -L/Users/nsantos/Qt/5.5/ios/qml/QtTest -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Extras -L/Users/nsantos/Qt/5.5/ios/qml/QtQml/Models.2 -L/Users/nsantos/Qt/5.5/ios/plugins/qmltooling -L/Users/nsantos/Qt/5.5/ios/plugins/bearer -L/Users/nsantos/Qt/5.5/ios/plugins/imageformats -F/private/tmp/build-lk-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/Debug-iphoneos -filelist /tmp/build-lk-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK.LinkFileList -dead_strip -headerpad_max_install_names -stdlib=libc++ -u _qt_registerPlatformPlugin -framework -framework Bolts -framework MobileCoreServices -framework AdSupport -L/Users/nsantos/Qt/5.5/ios/plugins/platforms -framework UIKit -framework AssetsLibrary -L/Users/nsantos/Qt/5.5/ios/lib -framework OpenGLES -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick.2 -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Controls -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Window.2 -L/Users/nsantos/Qt/5.5/ios/qml/QtPurchasing -L/Users/nsantos/Qt/5.5/ios/qml/QtMultimedia -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Layouts -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Dialogs -L/Users/nsantos/Qt/5.5/ios/qml/Qt/labs/folderlistmodel -L/Users/nsantos/Qt/5.5/ios/qml/Qt/labs/settings -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Dialogs/Private -L/Users/nsantos/Qt/5.5/ios/qml/QtTest -L/Users/nsantos/Qt/5.5/ios/qml/QtQuick/Extras -L/Users/nsantos/Qt/5.5/ios/qml/QtQml/Models.2 -L/Users/nsantos/Qt/5.5/ios/plugins/qmltooling -L/Users/nsantos/Qt/5.5/ios/plugins/bearer -L/Users/nsantos/Qt/5.5/ios/plugins/imageformats -lz -lm -fobjc-link-runtime -miphoneos-version-min=5.1.1 -framework CoreMidi -framework AudioToolbox -framework CoreLocation -framework CFNetwork -lGoogleConversionTracking -lqios_debug -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport_debug -lQt5DBus_debug -framework Security -framework SystemConfiguration -framework StoreKit -lqtquick2plugin_debug -lqtquickcontrolsplugin_debug -lwindowplugin_debug -ldeclarative_purchasing_debug -lQt5Purchasing_debug -ldeclarative_multimedia_debug -lQt5MultimediaQuick_p_debug -lQt5Multimedia_debug -lqquicklayoutsplugin_debug -ldialogplugin_debug -lqmlfolderlistmodelplugin_debug -lqmlsettingsplugin_debug -ldialogsprivateplugin_debug -lqmltestplugin_debug -lQt5QuickTest_debug -lQt5Widgets_debug -lQt5Test_debug -lqtquickextrasplugin_debug -lmodelsplugin_debug -lqmldbg_qtquick2_debug -lQt5Quick_debug -lqmldbg_tcp_debug -lQt5Qml_debug -lqgenericbearer_debug -lQt5Network_debug -lqdds_debug -lqicns_debug -lqico_debug -lqjp2_debug -lqmng_debug -lqtga_debug -lqtiff_debug -lqwbmp_debug -lQt5Gui_debug -lqtharfbuzzng_debug -lQt5Core_debug -lqtpcre_debug -Xlinker -dependency_info -Xlinker /tmp/build-lk-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK_dependency_info.dat -o /tmp/build-lk-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK
clang: error: no such file or directory: 'Bolts'

** BUILD FAILED **


The following build commands failed:
	Ld .build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/armv7/LK normal armv7
	Ld .build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK normal arm64
(2 failures)
make[1]: *** [iphoneos-debug] Error 65
make: *** [debug-iphoneos] Error 2
00:35:38: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project lk (kit: iphoneos-clang Qt 5.5.0 for iOS)
When executing step "Make"
00:35:38: Elapsed time: 01:00.


> On 09/07/2015, at 22:16, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On Thursday 09 July 2015 22:05:34 Nuno Santos wrote:
>> I don’t believe that is going to work because I was having problem with
>> system frameworks like AdSuport or MobileCoreServices.
>> 
>> Is anyone else having the same problem?
> 
> It usually helps if you post the output from Make, the error message and the 
> steps you've taken to fix the problem.
> 
> In particular, if the error message says something about a file not found, 
> where is the file? If it says a symbol is not found, have you verified that the 
> symbol is in the library it is expected to be?
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150710/3537f8db/attachment.html>


More information about the Interest mailing list