问题
When I try to upload my iOS application to the app store using the application loader, I get the following errors:
This means that the provisioning profile is invalid. So, I deleted and re-made the provisioning profile, then archived the application using that profile, and I still got this error... I have uploaded this application to iTunesConnect
before, and I got no errors, but now, even though I didn't do anything with my profiles, or change it in the application, I'm getting this error.
I have valid and non-expired certificates, and my bundle ID's are correct. The distribution provisioning profiles I have are:
This is happening for my application named SloganGen
.
回答1:
With the Screenshot that you have attached for errors & provisioning profile, looks like the problem is with the "Case Sensitive" name.
Profile : com.slogangen.slogangen
Error : com.slogangen.SloganGen
From apple documentation:
Typically, the bundle ID in your Xcode project is a string formatted as a reverse-domain name such as com.MyCompany.MyProductName, where you replace MyCompanyName and MyProductName with your domain and product name. However, unlike domain names, app IDs and bundle IDs are case sensitive.
Hope that helps.
回答2:
Try the following:
- Remove
armv7s
from valid architecture in build settings - Make sure you have a certificate for app store.
- Check the bundle identifier to make sure that it is same as your certificates.
来源:https://stackoverflow.com/questions/20232907/xcode-application-loader-error-itms-9000-invalid-provisioning-profile