[Interest] -u and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

Nuno Santos nunosantos at imaginando.pt
Mon Oct 26 00:49:13 CET 2015


Hi,

Since I have upgraded to Xcode 7.1 and Mac OSX 10.11, when compiling an iOS app on Qt 5.4.1 I have this error:

-u and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

Does anyone has a clue on how to sort this out?

Thanks in advance,

With my best regards,

Nuno

Ld .build/obj/LK.build/Release-iphoneos/LK.build/Objects-normal/armv7/LK normal armv7
cd /tmp/build-lk-iphoneos_clang_Qt_5_4_2_for_iOS-Debug
export IPHONEOS_DEPLOYMENT_TARGET=6.0
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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/private/tmp/build-lk-iphoneos_clang_Qt_5_4_2_for_iOS-Debug/Release-iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks -L/Users/nsantos/Dropbox/workspace/shared/gctsdk -L/Users/nsantos/Qt/5.4/ios/plugins/platforms -L/Users/nsantos/Qt/5.4/ios/lib -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick.2 -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick/Controls -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick/Window.2 -L/Users/nsantos/Qt/5.4/ios/qml/QtPurchasing -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick/Layouts -L/Users/nsantos/Qt/5.4/ios/plugins/imageformats -L/Users/nsantos/Qt/5.4/ios/plugins/qmltooling -L/Users/nsantos/Qt/5.4/ios/plugins/bearer -F/private/tmp/build-lk-iphoneos_clang_Qt_5_4_2_for_iOS-Debug/Release-iphoneos -filelist /tmp/build-lk-iphoneos_clang_Qt_5_4_2_for_iOS-Debug/.build/obj/LK.build/Release-iphoneos/LK.build/Objects-normal/armv7/LK.LinkFileList -miphoneos-version-min=6.0 -dead_strip -fembed-bitcode-marker -headerpad_max_install_names -stdlib=libc++ -u _qt_registerPlatformPlugin -framework Parse -framework Bolts -framework MobileCoreServices -framework AdSupport -framework FBSDKCoreKit -L/Users/nsantos/Qt/5.4/ios/plugins/platforms -framework UIKit -L/Users/nsantos/Qt/5.4/ios/lib -framework OpenGLES -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick.2 -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick/Controls -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick/Window.2 -L/Users/nsantos/Qt/5.4/ios/qml/QtPurchasing -L/Users/nsantos/Qt/5.4/ios/qml/QtQuick/Layouts -L/Users/nsantos/Qt/5.4/ios/plugins/imageformats -L/Users/nsantos/Qt/5.4/ios/plugins/qmltooling -L/Users/nsantos/Qt/5.4/ios/plugins/bearer -lz -lm -fobjc-link-runtime -framework CoreMidi -framework AudioToolbox -framework CoreLocation -framework CFNetwork -lGoogleConversionTracking -lqios -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport -framework Security -framework SystemConfiguration -framework StoreKit -lqtquick2plugin -lqtquickcontrolsplugin -lwindowplugin -ldeclarative_purchasing -lQt5Purchasing -lqquicklayoutsplugin -lqdds -lqicns -lqico -lqjp2 -lqmng -lqtga -lqtiff -lqwbmp -lqmldbg_qtquick2 -lQt5Quick -lQt5Gui -lqtharfbuzzng -lqmldbg_tcp -lQt5Qml -lqgenericbearer -lQt5Network -lQt5Core -Xlinker -dependency_info -Xlinker /tmp/build-lk-iphoneos_clang_Qt_5_4_2_for_iOS-Debug/.build/obj/LK.build/Release-iphoneos/LK.build/Objects-normal/armv7/LK_dependency_info.dat -o /tmp/build-lk-iphoneos_clang_Qt_5_4_2_for_iOS-Debug/.build/obj/LK.build/Release-iphoneos/LK.build/Objects-normal/armv7/LK
ld: warning: -headerpad_max_install_names is ignored when used with -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
ld: -u and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)






More information about the Interest mailing list