also asked in forum and Qt Creator List. Eike Ziller found the reason why release build fails under iOS:
That’s a crash in Qt Quick Compiler, which looks like it is https://bugreports.qt.io/browse/QTBUG-54482 Eike saved my day :) looked at the bugreport and immediately know the reason and fixed it: Timer{ id:autoVersionCheckTimer interval:3600000//60*60*1000 repeat:false onTriggered:{ appWindow.doAutoVersionCheck() } } just built the release, uploaded to AppStore and added build to TestFlight now all projects are working with Qt 5.7 and Xcode8 ekke Am 10.10.16 um 08:21 schrieb ekke: > > thanks to much help from > https://bugreports.qt.io/browse/QTCREATORBUG-16968 I finally managed > to build and run on iPhone and iPad using Xcode 8, Qt 5.7, QtCreator 4.1 > > now just wanted to start Testflight for upcoming Qt World Summit > Conference App https://github.com/ekke/c2gQtWS_x and build a release > to upload to apple appstore > > run into a problem I never had before > > build from Qt Creator fails here: > > === BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT c2gQtWS_x WITH > CONFIGURATION Release === > > Check dependencies > > Write auxiliary files > write-file > /daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh > chmod 0755 > /daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh > write-file > /daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-5E618435888B9D49F8540165.sh > chmod 0755 > /daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-5E618435888B9D49F8540165.sh > > PhaseScriptExecution Qt\ Qmake c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-5E618435888B9D49F8540165.sh > cd > /daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release > /bin/sh -c > \"/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-5E618435888B9D49F8540165.sh\" > make[1]: `c2gQtWS_x.xcodeproj/project.pbxproj' is up to date. > > PhaseScriptExecution Qt\ Preprocessors > c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh > cd > /daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release > /bin/sh -c > \"/daten/_qt_workspaces/work_570/build-c2gQtWS_x-iphoneos_clang_Qt_5_7_0_ios-Release/c2gQtWS_x.build/Release-iphoneos/Qt\ > Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\" > /daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name translations > ../c2gQtWS_x/translations.qrc -o qrc_translations.cpp > /daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name images > ../c2gQtWS_x/images.qrc -o qrc_images.cpp > /daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name data-assets > ../c2gQtWS_x/data-assets.qrc -o qrc_data-assets.cpp > /daten/_qt_sdks/sdk_570/5.7/ios/bin/qtquickcompiler > --resource=/daten/_qt_workspaces/work_570/c2gQtWS_x/qml.qrc > ../c2gQtWS_x/qml/main.qml .qtquickcompiler/qml_main_qml.cpp > ASSERT: "endptr - target.data() <= length - eSign -1" in file > ../../corelib/tools/qlocale_tools.cpp, line 227 > make[1]: *** [.qtquickcompiler/qml_main_qml.cpp] Abort trap: 6 > Command /bin/sh failed with exit code 2 > > ** BUILD FAILED ** > > compared this with another project where release was build without an > error: > > === BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT MoToiMa_qt WITH > CONFIGURATION Release === > > Check dependencies > > PhaseScriptExecution Qt\ Qmake MoToiMa_qt.build/Release-iphoneos/Qt\ > Preprocess.build/Script-5E618435888B9D49F8540165.sh > cd > /daten/_qt_workspaces/work_570/build-MoToiMa_qt-iphoneos_clang_Qt_5_7_0_ios-Release > /bin/sh -c > \"/daten/_qt_workspaces/work_570/build-MoToiMa_qt-iphoneos_clang_Qt_5_7_0_ios-Release/MoToiMa_qt.build/Release-iphoneos/Qt\ > Preprocess.build/Script-5E618435888B9D49F8540165.sh\" > make[1]: `MoToiMa_qt.xcodeproj/project.pbxproj' is up to date. > > PhaseScriptExecution Qt\ Preprocessors > MoToiMa_qt.build/Release-iphoneos/Qt\ > Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh > cd > /daten/_qt_workspaces/work_570/build-MoToiMa_qt-iphoneos_clang_Qt_5_7_0_ios-Release > /bin/sh -c > \"/daten/_qt_workspaces/work_570/build-MoToiMa_qt-iphoneos_clang_Qt_5_7_0_ios-Release/MoToiMa_qt.build/Release-iphoneos/Qt\ > Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\" > /daten/_qt_sdks/sdk_570/5.7/ios/bin/rcc -name translations > ../MoToiMa_qt/translations.qrc -o qrc_translations.cpp > > === BUILD TARGET MoToiMa_qt OF PROJECT MoToiMa_qt WITH CONFIGURATION > Release === > > so it seems to be a problem with the translations.qrc > > cleared the project and build dir > added *.qm files again to translations.qrc > > all works well if doing a debug build on iPhone or iPad, but fails > doing a release build > also verified from debug build on devices with different local: > translations are done > > have no idea what happened here > > another curious thing: while adding existing *.qm files to > translations.qrc I got this: > > 07:42 Executing in /daten/_qt_workspaces/work_570/c2gQtWS_x: > /usr/bin/git ls-files --error-unmatch translations/c2gQtWS_x_de.qm > error: pathspec 'translations/c2gQtWS_x_de.qm' did not match any > file(s) known to git. > Did you forget to 'git add'? > The command "/usr/bin/git" terminated with exit code 1. > > 07:42 Executing in /daten/_qt_workspaces/work_570/c2gQtWS_x: > /usr/bin/git ls-files --error-unmatch translations/c2gQtWS_x_en.qm > error: pathspec 'translations/c2gQtWS_x_en.qm' did not match any > file(s) known to git. > Did you forget to 'git add'? > The command "/usr/bin/git" terminated with exit code 1. > > 07:42 Executing in /daten/_qt_workspaces/work_570/c2gQtWS_x: > /usr/bin/git ls-files --error-unmatch translations/c2gQtWS_x.qm > error: pathspec 'translations/c2gQtWS_x.qm' did not match any file(s) > known to git. > Did you forget to 'git add'? > The command "/usr/bin/git" terminated with exit code 1. > > But there's no git configured in QtCreator, because I'm doing all my > Git workflows outside og QtCreator (using Tower app on OSX) > Many times QtCreator asks add to git ? where I always answer No - > probably happens because there's a .git in project dir > > thx for any help and hints > -- > > ekke (ekkehard gentz) > > independent software architect > international development native mobile business apps > BlackBerry 10 | Qt Mobile (Android, iOS) > workshops - trainings - bootcamps > > *BlackBerry Elite Developer > BlackBerry Platinum Enterprise Partner* > > max-josefs-platz 30, D-83022 rosenheim, germany > mailto:e...@ekkes-corner.org > blog: http://ekkes-corner.org > apps and more: http://appbus.org > > twitter: @ekkescorner > skype: ekkes-corner > LinkedIn: http://linkedin.com/in/ekkehard/ > Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490 > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- ekke (ekkehard gentz) independent software architect international development native mobile business apps BlackBerry 10 | Qt Mobile (Android, iOS) workshops - trainings - bootcamps *BlackBerry Elite Developer BlackBerry Platinum Enterprise Partner* max-josefs-platz 30, D-83022 rosenheim, germany mailto:e...@ekkes-corner.org blog: http://ekkes-corner.org apps and more: http://appbus.org twitter: @ekkescorner skype: ekkes-corner LinkedIn: http://linkedin.com/in/ekkehard/ Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest