I have yes smite version installed on my MaC and also Xcode version is 6.1. I downloaded Qt from official website and tried to build a very simple program. However, it gave me 3 error messages
:-1: error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
:-1: error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
:-1: error: Xcodebuild failed.
I searched on web on possible solutions but could not find any. what should I do build my applications on qt?
Add this to your qmake file for the project:
setting.name = DEVELOPMENT_TEAM
setting.value = XXXXXXXXXXXXXX
QMAKE_MAC_XCODE_SETTINGS += setting
Replace the X's with the actual value for your team. Note, the value is not the team name - it's some other identifier. To get that value (after downloading provisioning profiles in XCode), do the following :
Add this to the qmake file for your project:
ios: {
QMAKE_DEVELOPMENT_TEAM = ABCDEF0123
QMAKE_PROVISIONING_PROFILE = 12345678-abcd-1234-abcd-12345678abcd
}
To get these settings read your provisioning profile in ~/Library/MobileDevice/Provisioning Profile
, specifically, the following sections:
<dict>
<!-- ... -->
<key>TeamIdentifier</key>
<array>
<string>ABCDEF0123</string>
</array>
<!-- ... -->
<key>UUID</key>
<string>12345678-abcd-1234-abcd-12345678abcd</string>
<!-- ... -->
</dict>
Reference:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With