问题
Using Xcode 9.
- Working on app store build validation.
- Created an app with app store profile.
- Archived successfully
- Trying to validate build in Organizer, I am getting the following error on selecting the profile.
This is the same profile used to archive and it is an app store profile.
2 Queries
- How to identify a profile if it is ad-hoc or app store
- Why did this happen?Pretty sure this is an appstore profile.
回答1:
Just had the same issue
All you need to do is to delete your provisioning profile and create another one on Apple Developer site.
Queries:
- 1) The only info we have about it is the Development or Distribution label on the profile itself
- 2) I can't say it for sure, but maybe Xcode 9 signing doesn't recognize old profiles the same way it once did.
回答2:
If all else fails try using the Application Loader. I almost just default to the Application Loader nowadays with how ridiculously buggy the Xcode upload process is version after version.
回答3:
I think you are selected Ad Hoc option to get .ipa file. Select App Store option to get the .ipa file, then use Application loader to submit .ipa file.
In my case i'm getting email like this...
Missing beta entitlement - Your app does not include the beta-reports-active entitlement. If you intend to distribute this build via TestFlight for beta testing, please re-build this app with an App Store Distribution provisioning profile. Do not use ad-hoc profiles.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
Then i changed the option from Ad Hoc to App Store... enter image description here
回答4:
In my case I always trying to avoid revoke Apple cert
, because I share it with different developers from my company.
So I follow this answer which suggest to downgrade Xcode
-> I check version 9.0.1
and unfortunately I have still same error message.
But I've installed additionally 8.3.3
- it works correctly with uploading to Apple store.
Update: I move back into Xcode 9.1
installed directly from App Store, because I have problem with run ionic cordova build
So at this moment I am using two Xcode versions:
9.1
- for testing and creating builds - directly in Application8.3.3
- for uploading build to iTunnes Connect - beside run from different folder
I hope this is temporary situation.
[Update]
After some time I realized that my Provisioning Profile start with XC
which is not accepted by Xcode 9+
. After refresh all my Provisioning Profiles (avoiding XC
in name) - I can finally use Xcode 9+
.
Maybe this can be also useful for those who straggle this problem.
来源:https://stackoverflow.com/questions/46475375/profile-is-not-an-ios-app-store-profile