qt - QMake: Specifying custom Info.plist file for iOS App -


i have ios application built using qt(qml) want use custom info.plist file.

to this, built project usual (resulting in qmake providing default info.plist file). went application bundle (inside .app file) , copied generated info.plist file source tree. after copying, modified file make necessary customizations needed (i changed screen orientation settings, nothing else).

i specified path customised info.plist file in .pro application so:

ios{     qmake_info_plist = packages/ios/info.plist } 

when hit build, following compiler error:

check dependencies code sign error: automatic provisioning profile selection unavailable: bundle identifier required automatic provisioning profile selection. either enter bundle identifier in info.plist, or select provisioning profile use in build settings. codesign error: code signing required product type 'application' in sdk 'ios 8.2' 

has else run this? using qt 5.4.1. building on osx.

make sure copy of info.plist in xml format, not binary.

this necessary because qmake uses sed replace some variables during build process. e.g.

 @sed -e "s,@short_version@,1.0,g" -e "s,@full_version@,1.0.0,g" -e "s,@typeinfo@,????,g" -e "s,@bundleidentifier@,com.example.product,g" -e "s,@icon@,myproduct.icns,g" -e "s,@executable@,myproduct,g" -e "s,@typeinfo@,????,g" ../../project/subproject/info.plist >myproject.app/contents/info.plist 

i opened qt bug because qmake should check that.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -