Hi Marcin,
To deploy Qt application with XCode.
I am using XCode 7.3.1 on OS Ex El Captain
Here is the step I usually follow
Build your game project from Qt Creator using the “iphoneos_clang_Qt_5_7_0_for_iOS-Debug”
You will receive two issues
:-1: error: No provisioning profiles found: No non–expired provisioning profiles were found.
:-1: error: Xcodebuild failed.
Now Open XCode and try to successfully build one sample project on your iOS device, this is so to confirm that Xcode can fix issues. Normally during this step is when you may get a dialog saying “Failed to code sign “Sample Project”. and it will offer you a suggestion to “fix issues”. For this step please follow
http://stackoverflow.com/questions/30727099/how-to-run-apps-on-iphone-ipad-using-xcode-7-without-enrolling-to-apples-develo
http://www.wastedpotential.com/running-xcode-projects-on-a-device-without-a-developer-account-in-xcode-7/
Once you are done with the step above your sample project should run on your iOS device and the next step is pretty easy.
Now building the Qt project.
First identify the build folder it should be something similar to “build-QtGameProject-iphoneos_clang_Qt_5_7_0_for_iOS-Debug”
Open the folder and you will see a file with the extension “.xcodeproj”
Open that file
It should open in XCode
Set the active scheme to your iOS device
Click the Build button
First time it will pop up a dialog “Failed to code sign”
Select “fix issue”
Choose a development team to use for the provisioning, this is actually the one you setup with the sample XCode project.
Your QtCreator game project should now start running on your iOS device.