Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode won't let me upload my app

Tags:

I have an iOS app created with Cordova, and have just paid my $99 to apple to upload it to the App Store. I've created the app archive, but in the Organizer Upload to App Store… is grayed out, and I've got "Distribution requires enrollment in the Apple Developer Program."

enter image description here

Here is my account in preferences, which I have tried removing and re-adding

enter image description here

What am I missing?

like image 532
Alesh Houdek Avatar asked Nov 10 '15 13:11

Alesh Houdek


People also ask

How do I submit an app to the Xcode app?

In Xcode, select Generic iOS Device as the deployment target. Choose Product from the top menu and click on Archive. The Xcode Organizer will launch, displaying any archives you've created in the past. Make sure the current build is selected and click on Upload to App Store in the right-hand panel.


1 Answers

I see you have two Team entries. I believe the issue might be because you have the "Personal Team" option selected under your Project settings page.

In Xcode, in the Filesystem sidebar, select the Project node, select your main Target, and choose the non-Personal Team entry. Ensure you have a device selected so you can provision it, then rebuild and rearchive, then it should work.

like image 92
Dai Avatar answered Oct 14 '22 20:10

Dai