Solved Xcode change from 7.3 to 8.0 problem
-
Hi,
I was just about to send the app to Apple store, when I had the bad idea to update XCode.
The build process outputs this:
=== BUILD TARGET perinatal__celular_mae__app OF PROJECT perinatal__celular_mae__app WITH CONFIGURATION Debug === Check dependencies Signing for "perinatal__celular_mae__app" requires a development team. Select a development team in the project editor.
In the .pro I have:
ios { QMAKE_INFO_PLIST = ios/Info.plist ios_icon.files = $$files($$PWD/ios/AmorDeMae*.png) QMAKE_BUNDLE_DATA += ios_icon }
And my
Info.plist
contains:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDisplayName</key> <string>Amor de Mãe</string> <key>CFBundleExecutable</key> <string>perinatal__celular_mae__app</string> <key>CFBundleGetInfoString</key> <string>Created by Rodrigo Canellas, using Qt/QMake</string> <key>CFBundleIconFile</key> <string></string> <key>CFBundleIcons</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>AmorDeMae.png</string> </array> </dict> </dict> <key>CFBundleIdentifier</key> <string>les.${PRODUCT_NAME:rfc1034identifier}</string> <key>CFBundleName</key> <string>${PRODUCT_NAME}</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0</string> <key>LSRequiresIPhoneOS</key> <true/> <key>NOTE</key> <string>This file was generated by Qt/QMake.</string> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> <key>UIFileSharingEnabled</key> <true/> </dict> </plist>
I read the post iOS release build fails, but I could not get it right.
When I modify the .pro file to:
ios { QMAKE_INFO_PLIST = ios/Info.plist ios_icon.files = $$files($$PWD/ios/AmorDeMae*.png) QMAKE_BUNDLE_DATA += ios_icon QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer" MY_DEVELOPMENT_TEAM.name = DEVELOPMENT_TEAM MY_DEVELOPMENT_TEAM.value = "Gustavo de Carvalho" QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM }
The build process outputs:
=== BUILD TARGET perinatal__celular_mae__app OF PROJECT perinatal__celular_mae__app WITH CONFIGURATION Debug === Check dependencies No profiles for 'les.perinatal--celular-mae--app' were found: Xcode couldn't find a provisioning profile matching 'les.perinatal--celular-mae--app'. Code signing is required for product type 'Application' in SDK 'iOS 10.0'
I would most appreciate any help!
Thanks!
-
Thanks, but I decided to go back to Xcode 7.3.
-
Hi,
Not a direct solution but did you check that all the information related to your account are in Xcode ?
-
Thanks, but I decided to go back to Xcode 7.3.
-
your MY_DEVELOPMENT_TEAM.value is wrong !
MY_DEVELOPMENT_TEAM.value must be your team Id not name
The Id can be found at Apple Developer Account - Membertship - team ID -
Perhaps this could help: http://amin-ahmadi.com/2016/09/26/qt-creator-issue-on-mac-os-x-fix-xcodebuild-issue-with-xcode-8-0/