I'm just moving all my projects from 5.7 to 5.8 and noticed a strange behavior.
Doing a first build and run on iOS always fails after building:
Provisioning profile "iOS Team Provisioning Profile: org.ekkescorner.xyz" doesn't include signing certificate "iPhone Developer: Ekkehard Gentz (4A46...VV3)".
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
** BUILD FAILED **
The following build commands failed:
make: *** [xcodebuild-debug-device] Error 65
10:10:26: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project MoToiMa_qt (kit: iphoneos-clang Qt 5.8.0 for iOS)
in my .pro I have this:
QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
MY_DEVELOPMENT_TEAM.name = DEVELOPMENT_TEAM
MY_DEVELOPMENT_TEAM.value = CD...V2B
QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
The only way to solve this is opening the generated project once in XCode where all looks good. (see attachment)
Going back to QtC and doing the build/run again it works too:
Signing Identity: "iPhone Developer: Ekkehard Gentz (4A4...V3)"
Provisioning Profile: "iOS Team Provisioning Profile: org.ekkescorner.xyz"
/usr/bin/codesign --force --sign BE04B1CA1523CBC73451764A4C75A4ACA6E9933C --entitlements /daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Debug/MoToiMa_qt.build/Debug-iphoneos/MoToiMa_qt.build/MoToiMa_qt.app.xcent --timestamp=none /daten/_qt_workspaces/work_580/build-MoToiMa_qt-iphoneos_clang_Qt_5_8_0_for_iOS-Debug/Debug-iphoneos/MoToiMa_qt.app
Is this behavior expected or am I doing anything wrong ?