Hi,

I’m not investing to much time with this problem because my apps are stable in 
Qt 5.4 and I don’t want to rush into Qt 5.5.

However, when I have time, I’m trying to understand what is making this strange 
phenomena happening.

The problem is, when building for iOS, it is somehow replacing the ocurrence of 
-framework Parse for -framework “”, resulting in linking problems. This is the 
libs line that includes -framework Parse:

LIBS += -framework Parse -framework Bolts -frameworks CoreMidi -framework 
AudioToolbox -framework MobileCoreServices -framework CoreLocation -framework 
CFNetwork -framework AdSupport

I have triple checked. No typos, no weirds chars, nothing. This time I have 
decided to give it a try again bypassing QtCreator. What I have done:

cd /tmp
mkdir lk
cd lk
~/Qt/5.5/ios/bin/qmake -d -d /Users/nsantos/Dropbox/workspace/lk/lk.pro -r 
-spec macx-ios-clang CONFIG+=iphoneos CONFIG+=declarative_debug 
CONFIG+=qml_debug
make

The problems is always on the linking phase and so far it happens only with iOS 
tools. After the first build failed I’m executing this command only:

BIGMAC:lk nsantos$ xcodebuild build -scheme LK -sdk iphoneos -configuration 
Debug

Please note below the output in bold.

I don’t make a clue why this is happening but it’s completely frustrating. Does 
anyone has a clue of what might be happening? 

Thanks in advance,

Nuno

-----

Build settings from command line:
    SDKROOT = iphoneos8.4

2015-07-18 07:14:45.990 xcodebuild[69937:6426250] warning:  The file reference 
for "/Users/nsantos/Dropbox/workspace/shared/shared.qrc" is a member of 
multiple groups ("Supporting Files" and "Resources"); this indicates a 
malformed project.  Only the membership in one of the groups will be preserved 
(but membership in targets will be unaffected).  If you want a reference to the 
same file in more than one group, please add another reference to the same path.
2015-07-18 07:14:45.990 xcodebuild[69937:6426250] warning:  The file reference 
for "/Users/nsantos/Dropbox/workspace/lk/qml.qrc" is a member of multiple 
groups ("Supporting Files" and "Resources"); this indicates a malformed 
project.  Only the membership in one of the groups will be preserved (but 
membership in targets will be unaffected).  If you want a reference to the same 
file in more than one group, please add another reference to the same path.
=== BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT LK WITH CONFIGURATION Debug 
===

Check dependencies

PhaseScriptExecution Qt\ Qmake .build/obj/LK.build/Debug-iphoneos/Qt\ 
Preprocess.build/Script-5E618435888B9D49F8540165.sh
    cd /tmp/lk
    /bin/sh -c \"/tmp/lk/.build/obj/LK.build/Debug-iphoneos/Qt\ 
Preprocess.build/Script-5E618435888B9D49F8540165.sh\"
make: `LK.xcodeproj/project.pbxproj' is up to date.

PhaseScriptExecution Qt\ Preprocessors .build/obj/LK.build/Debug-iphoneos/Qt\ 
Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
    cd /tmp/lk
    /bin/sh -c \"/tmp/lk/.build/obj/LK.build/Debug-iphoneos/Qt\ 
Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\"
make: Nothing to be done for `preprocess'.

=== BUILD TARGET LK OF PROJECT LK WITH CONFIGURATION Debug ===

Check dependencies
warning: skipping file '/tmp/lk/Parse' (unexpected file type 'text' in 
Frameworks & Libraries build phase)
warning: skipping file '/tmp/lk/Parse' (unexpected file type 'text' in 
Frameworks & Libraries build phase)

Ld .build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK normal 
arm64
    cd /tmp/lk
    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:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/nsantos/android/sdk/tools:/Users/nsantos/android/sdk/platform-tools::/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/ImageMagick/bin"
    
/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/lk/Debug-iphoneos 
-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/System/Library/Frameworks
 -L/Users/nsantos/Dropbox/workspace/shared/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/QtQuick/Layouts 
-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/imageformats 
-L/Users/nsantos/Qt/5.5/ios/plugins/qmltooling 
-L/Users/nsantos/Qt/5.5/ios/plugins/bearer -F/private/tmp/lk/Debug-iphoneos 
-filelist 
/tmp/lk/.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/QtQuick/Layouts 
-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/imageformats 
-L/Users/nsantos/Qt/5.5/ios/plugins/qmltooling 
-L/Users/nsantos/Qt/5.5/ios/plugins/bearer -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 
-lqquicklayoutsplugin_debug -lqtquickextrasplugin_debug -lmodelsplugin_debug 
-lqdds_debug -lqicns_debug -lqico_debug -lqjp2_debug -lqmng_debug -lqtga_debug 
-lqtiff_debug -lqwbmp_debug -lqmldbg_qtquick2_debug -lQt5Quick_debug 
-lQt5Gui_debug -lqtharfbuzzng_debug -lqmldbg_tcp_debug -lQt5Qml_debug 
-lqgenericbearer_debug -lQt5Network_debug -lQt5Core_debug -lqtpcre_debug 
-Xlinker -dependency_info -Xlinker 
/tmp/lk/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK_dependency_info.dat
 -o /tmp/lk/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/arm64/LK
clang: error: no such file or directory: 'Bolts'

Ld .build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/armv7/LK normal 
armv7
    cd /tmp/lk
    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:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/nsantos/android/sdk/tools:/Users/nsantos/android/sdk/platform-tools::/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/ImageMagick/bin"
    
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -arch armv7 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk
 -L/private/tmp/lk/Debug-iphoneos 
-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/System/Library/Frameworks
 -L/Users/nsantos/Dropbox/workspace/shared/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/QtQuick/Layouts 
-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/imageformats 
-L/Users/nsantos/Qt/5.5/ios/plugins/qmltooling 
-L/Users/nsantos/Qt/5.5/ios/plugins/bearer -F/private/tmp/lk/Debug-iphoneos 
-filelist 
/tmp/lk/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/armv7/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/QtQuick/Layouts 
-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/imageformats 
-L/Users/nsantos/Qt/5.5/ios/plugins/qmltooling 
-L/Users/nsantos/Qt/5.5/ios/plugins/bearer -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 
-lqquicklayoutsplugin_debug -lqtquickextrasplugin_debug -lmodelsplugin_debug 
-lqdds_debug -lqicns_debug -lqico_debug -lqjp2_debug -lqmng_debug -lqtga_debug 
-lqtiff_debug -lqwbmp_debug -lqmldbg_qtquick2_debug -lQt5Quick_debug 
-lQt5Gui_debug -lqtharfbuzzng_debug -lqmldbg_tcp_debug -lQt5Qml_debug 
-lqgenericbearer_debug -lQt5Network_debug -lQt5Core_debug -lqtpcre_debug 
-Xlinker -dependency_info -Xlinker 
/tmp/lk/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/armv7/LK_dependency_info.dat
 -o /tmp/lk/.build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/armv7/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/arm64/LK 
normal arm64
        Ld .build/obj/LK.build/Debug-iphoneos/LK.build/Objects-normal/armv7/LK 
normal armv7
(2 failures)
BIGMAC:lk nsantos$
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to