I'm running xcode 4.2 on snowleopard.
My Problem
When I click "Product -> Archive" in xcode, I am expecting the code signing dialog to pop up like normal and it doesn't
When I click the generated archive in the organizer and click "Validate" then "next" to login then "next" with my selected application, it brings up the window that says "Your application is being validated". I had some validation issues that I fixed so the validation seems to be working but it just hangs there. I would expect the code signing dialog to pop up again here and then the next window but just like the last issue, there is no code signing dialog here.
I've tried
Rebuilding the project
Rebooting my computer
Validating a known good build (it's made it past validation before)
Reinstalling xcode
I submitted my last version to Apple and they rejected it because it wasn't built with IOS 5.0. I upgraded to xcode 4.2 and haven't seen the code signing dialog pop up since.
What am I missing here? I think my problem is that the code signing window isn't coming up which it needs to so I can finish validation but I have no idea how to get it to come up.
Check the projects Build Settings, specifically the "Code Signing Identity" setting. Make sure you have selected an app store .mobileprovision profile for the Release scheme.
Also open up the Edit Schemes dialog and make sure that the active scheme has an Archive option. Make sure the Archive option uses the correct Build Configuration ("Release").
Related
I uploaded my app to the App Store using xcode. I can see my build in my existing app on iTunes connect. However when I want to add the build using the "+ Version or platform" option it shows me a disabled iOS button:
My build version is 2.0.
I received an email from Apple stating that the app completed processing. Any reason why I can't select it?
I found the solution. In my case I wanted to update the app to a newer version which wasn't listed in the "+Version or Platform" menu. The possible reason is that a previous build failed, with the status of "Prepare for Submission".
Select the build which is listed as "Prepare for submission" under "iOS App".
Scroll down till you see the build for that submission.
Delete the old build and select a new correct build.
Now scroll down more and change the version of your submission in the textfield to the build number of your correct build.
After doing that I was able to submit it to the App Store.
I had the same issue. I had to reject an app that was in "Waiting for Review" status since we had to update a bug that we found after we submitted the previous build. Once we did that, we were unable to add a new version and the ios option was disabled. To fix this:
I went to the same version that showed "Rejected by Developer",
Scrolled down to the build version,
Clicked the minus (-) icon next to the previous build to remove that,
Added the new build and
Saved and Submitted for review.
The version increment automatically updated after step 5 above based on the selected build.
GrangerFX has the answer.
In the App Store click on your app, then the version number under iOS App on left.
This will open the Prepare for Submission screen on right (unless you already did that).
Scroll down to "Build" section, and click the "do not enter" sign, which is some secret code that means delete (rather than a typical trash can). [Nice UI Apple! Keep trying, maybe you will get it right one day.]
Then you will be asked to pick a build. Choose your latest uploaded build.
In xcode 6:
I have problem while submitting app to app store that when i archive apps,it show me provisioning profile "none" as show in below image.
I have install all certificate in keychain as well.
can you please tell me how it show me such result.
In xcode 5 : it will give me "No identity found"
In my case this issue started with the recent Xcode update. For whatever reason, Xcode's automatic signing was failing to select the correct profile when archiving.
After sinking a few hours into toggling things, cleaning things and refreshing things, I simply disabled the "Automatically manage signing" setting and did it the old fashioned way.
That is, create relevant provisioning profiles in the Developer Console and select them manually in the "Signing" sections that appear after disabling automatic signing.
Try the following in xcode6:
1. Xcode->preferences->accounts->View Details->click the refresh button
2. click your project->click Targets->click build settings tab->choose your distribute provisioning profile in Code Signing
Then, try to submit your app again.
I downloaded the sample code for the Lister app from Apple's developer website and am trying to build the Swift version to my iPhone 5S running iOS 8 Beta 5. I've changed everything to com.mycompany.Lister, but when I try to build it, it comes up with the following error.
No matching provisioning profiles found
None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-container-identifiers. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.
So I click "Fix Issue", it loads for a few seconds and comes back to me with this message:
An App ID with Identifier 'com.example.apple-samplecode.Lister.ListerToday' is not available. Please enter a different string.
I thought I had already changed everything to com.mycompany.Lister, but maybe I'm missing something hidden somewhere.
In your Build Settings change the Code Signing Identities from Distribution to Developer or don't code sign.
As per #markerberg's comment: The trick is to go through the compile settings for all 8 items (toggle via drop down in the upper left corner of build settings). For each of the targets you need to change all the code signing options to "don't code sign". Then it works right away.
I fixed this by creating an "App Store" distribution provisioning profile for my App on the developer.apple.com provisioning portal. The reasoning is outlined here. https://developer.apple.com/library/ios/qa/qa1830/_index.html
I am fairly sure that Xcode did this for me automatically last time I created an objective-C app, but this is my first Swift app and somehow it seems i had to do it manually even though I was just submitting for beta testing via TestFlight.
I was following instructions mentioned in the ReadMe file provided with the source code (It is called iOS and Watch Quick Start). But while using Xcode's 'Fix Issue' option for creating Provisioning Profiles, I was getting the error mentioned above.
I had to quit and restart Xcode to solve this issue. After restarting Xcode, Fix Issue option seemed to be working for me.
This is driving me crazy. I've tried searching for answers and nothing quite matches my problem.
I've successfully archived my app and need to upload it to iTunes Connect. Apple recommends Application Loader but first needs to be done in Xcode. When I attempt to validate or Distribute the app in Xcode, I get an error saying "No Identities are available for signing"
I'm confused because I've wiped my certificates and profiles clean but I continue to get this message. Any ideas what I'm missing?
"No identities available for signing" can get frustrating. What you should do is regenerate your distribution certificate and profile, that should fix the issue.
If you need help regenerating: Download and open the new distribution certificate, which will store it in your keychain. Then, drag-and-drop the profile into your Xcode organizer. Next, your going to click on the project in the upper left (it has a blue icon next to it), that will bring up the projects info. There should be 2 tabs at the top of the screen, "Info" and "Build Settings". When you click on Build Settings, the option to change the code signing is about halfway down the screen. When I ran into this issue, I had to change every single one of the code signing options to iPhone Distribution. (It might not be necessary to change every field, but I did). You should be good to go after this, let me know if you have anymore issues.
I solved the problem by deleting ALL dev profiles and recreating a single provisional profile for Distribution and Developing each. Xcode then selected the profiles automatically without me having to import them into Xcode.
I get the following error when I want to archive my app:
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 4.3'
If I edit scheme and set it to Debug it works. But I cannot send the archive to apple the organizer gives the following error then:
No suitable application records were found.
Please make sure that you have set up a record for this application on iTunes Connect.
Which is strange because my bundle id is the same as the last part of the identifier in Xcode...
Does anyone know where I have to look for?
Thnx!!
You need to make sure that you have a Code Signing profile selected for your Target as well.
Same error message from XCode 4 for me, but solution was to go into iTunesConnect, click on the app in the "Manage my apps" section, click "View details" and then "Ready for Upload" (or somesuch... can't see it anymore).
This seems to shunt the app along a step in the appstore, which then makes it possible to validate and (I hope) submit the app from XCode.
Horrible process. Two apps in the store, up to my third, and still find this process confusing.
Both set the Code Signing in the (project->Bulding Settings) and (Targets->Building Settings).
It work well for me in the Xcode 4.3.1 ,Hope it's usefull for you.