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

Nuno Santos nunosantos at imaginando.pt
Mon Oct 26 10:04:16 CET 2015


Will try! Thx

Regards,

Nuno

> On 26 Oct 2015, at 00:30, Robert Iakobashvili <coroberti at gmail.com> wrote:
> 
> Hi,
> 
> 1. Option 1.
> 
> Open the project generated by qmake by Xcode.
> 
> In Build Settings change ENABLE_BITCODE from YES to NO;
> 
> Now Build or Rebuild it in QCreator.
> 
> 
> 2. Option 2.
> 
> Upgrade to Qt-5.5.1
> 
> Take care.
> 
> Regards,
> Robert
> 
> 
> On Mon, Oct 26, 2015 at 1:49 AM, Nuno Santos <nunosantos at imaginando.pt> wrote:
>> 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/R
>> elease-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)
>> 
>> 
>> 
>> _______________________________________________
>> 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/20151026/16224aca/attachment.html>


More information about the Interest mailing list