[Development] Compiling for iOS, qtdeclarative and others fail

Ariel Molina ariel at edis.mx
Fri May 22 23:36:56 CEST 2015


Well the last lines are

/Users/edis/projects/qt5/qtbase/bin/qmake -o Makefile xmlpatterns.pro
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Device
> install
> xcodebuild install -scheme xmlpatterns -sdk iphoneos -configuration Release
> Build settings from command line:
>     SDKROOT = iphoneos8.3
> === BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT xmlpatterns WITH
> CONFIGURATION Release ===
> Check dependencies
> PhaseScriptExecution Qt\ Qmake .obj/xmlpatterns.build/Release-iphoneos/Qt\
> Preprocess.build/Script-5E618435888B9D49F8540165.sh
>     cd /Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns
>     /bin/sh -c
> \"/Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns/.obj/xmlpatterns.build/Release-iphoneos/Qt\
> Preprocess.build/Script-5E618435888B9D49F8540165.sh\"
> make[5]: `xmlpatterns.xcodeproj/project.pbxproj' is up to date.
> PhaseScriptExecution Qt\ Preprocessors
> .obj/xmlpatterns.build/Release-iphoneos/Qt\
> Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
>     cd /Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns
>     /bin/sh -c
> \"/Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns/.obj/xmlpatterns.build/Release-iphoneos/Qt\
> Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\"
> make[5]: Nothing to be done for `preprocess'.
> === BUILD TARGET xmlpatterns OF PROJECT xmlpatterns WITH CONFIGURATION
> Release ===
> Check dependencies
> Code Sign error: No provisioning profiles found: No non–expired
> provisioning profiles were found.
> CodeSign error: code signing is required for product type 'Application' in
> SDK 'iOS 8.3'
> ** INSTALL FAILED **
>
> The following build commands failed:
> Check dependencies
> (1 failure)
> make[4]: *** [iphoneos-release-install] Error 65
> make[3]: *** [iphoneos-install] Error 2
> make[2]: *** [sub-xmlpatterns-install_subtargets] Error 2
> make[1]: *** [sub-tools-install_subtargets] Error 2
> make: *** [module-qtxmlpatterns-install_subtargets] Error 2
> iMacEDIS:qt5 edis$


And that's it.

I dont know why it says it cannot find provisioning profiles. Specially
with xmlpatterns, and other do not have problems.

Ariel

On Wed, May 20, 2015 at 12:16 PM, Edward Sutton <edward.sutton at subsite.com>
wrote:

>  I understand the config commands used to build Qt packages are here:
>
>  http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config
>
>
>  Qt iOS Enterprise:
>
>
> http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config/configure_ios_enterprise
>
>  -commercial -confirm-license -debug-and-release -nomake tests -nomake
> examples -qt-zlib -qt-libjpeg -qt-libpng -xplatform macx-ios-clang
> -no-sql-mysql
>
>  I can build but “sudo make install” fails. I do not know what. Something
> with xml patterns possible?
>
> -Ed
>
>
>
>
>
>
>
>  On May 20, 2015, at 11:54 AM, Ariel Molina <ariel at edis.mx> wrote:
>
>  I was tracking a bug in Qt for desktop, then tried to test it on iOS but
> i cant build Qt 5 for iOS.
>
>  I have a valid Apple Account, paid for the license and I can build XCode
> and Qt apps for iPad, it works, but not Qt itself, here's my procedure
>
>    1. Git clone qt5
>    2. perl init-repository
>    3. ./configure -xplatform macx-ios-clang -release -sdk iphoneos
>    4. make fails with: http://pastebin.com/eK0Rr1tM
>
> It seems it fails to sign code, but other modules are signed correctly.
> Shall i post a bug report? What is your procedure to build succesfully?
>
>  Ariel
>
>  --
>  Ariel Molina R.
>
>  Oficina: +52 (222) 3723196
> Movil: +521 2226 758874
> http://edis.mx
>   _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
>  This email and any files transmitted with it from The Charles Machine
> Works, Inc. are confidential and intended solely for the use of the
> individual or entity to which they are addressed. If you have received this
> email in error please notify the sender. Our company accepts no liability
> for the contents of this email, or for the consequences of any actions
> taken on the basis of the information provided, unless that information is
> subsequently confirmed in writing. Please note that any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of the company. Finally, the recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>



-- 
Ariel Molina R.

Oficina: +52 (222) 3723196
Movil: +521 2226 758874
http://edis.mx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150522/ba266c35/attachment.html>


More information about the Development mailing list