XCode target not displaying Code Signing Provisioning Profile

Hello experts,
I am first time uploading my application on the apple store. I downloaded distribution provisioning profile and placed that into home/library/Mobile Device/Provisioning Profiles.
Opened xcode, created distributed configuration by duplicating release configuration.
changed CODE SIGNING IDENTITY to IPhone Distribution: My company name
next step is to set the CODE SIGNING PROVISIONING PROFILE but xcode not showing this option.
The four options that i can see are:
1) Code signing Entitlements
2) Code signing identity
3) Code signing resource rules path
4) Other code signing flags
NOT the "CODE SIGNING PROVISIONING PROFILE" parameter to set.
What i need to check for this.
I tried to upload my app without this setting but as i expected got the error:
"The binary you uploaded is not valid or it was not signed by Apple Submission Certificate."
Please help me to resolve this.
Thanks in advance.

thanks for replying
i checked all the above mentioned steps.
-> My Distibution Profile is present in Mobile Devices/Provisioning Profiles.
-> Active SDK is Device
-> Active Configuration is Distribution
-> Bundle Identifier name is a simple five letter word without white spaces and special characters.
The only thing my application is not having is the "Code Signing Provisioning Profile" option to set in the top-level getinfo window->build.
here i am giving the link of my build settings for Distribution Configuration:
http://reportingmanager.com/NevaGarments/ScreenShot/Picture.png
please let me know what needs to be done.
Thanks

Similar Messages

  • Missing "Code Signing Provisioning Profile" in Xcode build options

    I am missing the field "Code Signing Provisioning Profile" in the Project Info Build Settings of Xcode. The "Code Signing Identity" setting is there. Xcode version is 3.1, the version of the iPhone SDK I don't know how to find out.
    In the Organizer everything is as it should be: my iPhone with the Provisioning-Certificate from the Developer Portal, though I had problems restoring the iPhone with the Organizer so it is still in the state from the iTunes update.
    When I build my app and want to run it on the device, the status bar says "Failed to upload asdf.app". My guess is that these to things must somehow be related. This is the output of the console on the Mac:
    Xcode: ApplicationVerificationFailed
    Xcode: MobileDevice: perform_command: There was an error communicating with the service agent: -402653183
    Xcode: MobileDevice: AMDeviceInstallApplication: Could not install package on device: kAMDUndefinedError

    I had this problem when upgrading to SDK 2.2 as well. For me, the problem seemed to be that I had multiple profiles with the same name but different creation dates. For example, I had two profiles name "Ad Hoc" but one was created sometime in October and one was created just last week.
    I fixed the problem by opening up the Xcode organizer window. In 2.2, there's a new side bar that displays the provisioning profiles currently installed on your system. If you are like me, you might have some old profiles with the same name. All I had to do was delete the old profiles and then rebuild in Xcode. If you don't have provisioning profiles with identical names, it probably won't hurt to delete all of the profiles from the organizer and then reinstall them by dragging them back into the organizer.
    Hope this helps!

  • Running code on iPhone: Can't select Code Signing Provisioning Profile

    I've gone through all the steps to create certificates, app id's, provisions profiles etc.
    But in Xcode, when I want to select the Code Signing Provisioning Profile in Info->Build, the only options available is 'Default Provisioning Profile for Code Signing'.
    The profile has been added to my iPhone with Organizer and on the iPhone itself (under General->Profile), it's also listed correctly.
    I feel like I'm close to the finish, but stuck right in front of it.
    I'm using the latest versions of iTunes, Xcode, iPhone 2.0 etc.
    Any ideas?
    Thanks,
    Tom

    Here are a few things that I did that were suggested in older threads. They may not be necessary, but they don't hurt either:
    * Certificates: you need two them. One is your personal one that you [download]. The other one is the WWDR Intermediate Certificate. When I open 'Keychain Access' and click on 'Certificates', it should show those to. Your personal one should be called 'iPhone Developer: FirstName LastName'. (I assume this is ok for you, but others may find this useful.)
    * App Id: different people have pointed out that you should make your App Id precise, but with not more than 3 levels. The docs suggest using '*' as only path during development, but the docs may be out of date on this one. So in my case, I have ID: ABCFDEF123.com.mycompany.appname. That's it. I've noticed that you'll only be able to have exactly 1 application on your device at the same time with this ID, but that's ok for now.
    * Create your provisioning profile with all this.
    I've then done this:
    - quit Xcode
    - delete all profiles out for ~/Library/MobileDevice/Provisioning Profiles
    - copy the new one in this directory. I didn't do drag and drop because some threads indicated that this doesn't always work.
    - remove previous profile from device (iPhone->Settings->General->Profiles->Delete)
    - start up Xcode
    - Start up Organizer
    The new profile should now be visible in Organizer and be downloaded to your iPhone.
    In the Info.plist, set the Bundle Identifier to com.mycompany.myapp.
    In Build options:
    Code Signing Identity -> 'iPhone Developer: FirstName LastName'
    And now suddenly the new profile did show up.
    After that it just worked.
    Now some have also indicated that even if the profile doesn't show up, you can still get it to work by forcing it in (just double-click on "Code Signing Provisioning Profile" or somewhere in that neighborhood) and fill in the name. I can't confirm if that solves it because when I did so, my certificates were still incorrect...
    Good luck!

  • My Distribution Profile is grayed out in Code Signing Provisioning Profile

    Fellow developers, has anyone experienced this problem when you tried to compile your app for distribution:
    Did everything as suggested in this forum, including:
    - copying a distribution profile to the right folder and also draging over the Xcode icon
    - Adding a "Distribution" configuration
    - specifying the identity as "iPhone Distribution: My Name"
    However, in the "Code Signing Provisioning Profile" picker, when "Any iPhone OS" is selected, the only enabled choice is "Default ..." and the actual profile with my name is grayed out.
    More over, the moment I select "Distribution" and then select "Device" in the "Active Configuration" picker, Xcode closes. This behavior can be reproduced all the time.
    Any suggestions?
    Eugene

    It is normal that it is grayed out ( don't ask me why ). To activate the distribution build, duplicate your Release in Distribution, install all the required certificates ( please apple stop those, they're a nightmare to deal with ) , then in the build settings in the code signing you have to TYPE ( there is no drop down box as seen in some screenshots ) "iPhone Distribution" ( instead of "iPhone Developer" ) and tada a few lines below you should see your drop down modified with some distributions entries.
    Patricia.

  • No option in project info window for code signing Provising profile.

    Dear Developer forum,
    I have one issue wth my application regarding provisional Profile.
    I have installed Distribution certificate.After that I have entered all information regarding distribution provisional profile in program portal
    I have got provisional certificate from portal.I have installed it
    And I have also seen its entry in home/library/mobiledevices/.
    But Now problem is arising at place when I am opening my project or target info window on that time in BUild->code signing option, I have only code signing endity but no code signing provisioning profile.
    where I can give my distribution provising profile name
    So anybody tell me howz it come????
    Thanks

    Looking at this page:
    http://developer.apple.com/iphone/manage/distribution/index.action
    Make sure that you've done all the steps... "Generating a Certificate Signing Request", "Submitting a Certificate Signing Request for Approval", "Downloading and Installing iPhone Distribution Certificates", "Create and download your iphone distribution provisioning profile"...
    When I went through this process, I think I forgot to do the step "Downloading and Installing iPhone Distribution Certificates"... (skipping straight to "create and download your iphone disbritution profile") as a result the provisioning profile name wasn't appearing for me to select... When I completed that step, then the provisioning profile name appeared...
    Message was edited by: iphonemediaman

  • Argh! Profile Manager and Code-Signing of profiles

    I am setting up Profile Manager in Mavericks with Server.app 3.0.1.
    I have DNS correctly setup, I have created an OD Master for Profile Manager, Profile Manager is running and network users can login and I can setup profiles. I also have the https site working properly for clients although that needed some help.
    We have a self-signed root CA and off that we have two intermediate CAs, one for signing server SSL certificates, and one for signing codesigning certificates. On my server I have installed the rootCA, and the intermediate CAs and of course the server SSL certificate itself. As mentioned initially I had a problem with the https site on the server and what was happening was that the server was not sending the intermediate certificate along with the server certificate to clients. (The clients already have our rootCA certificate installed and trusted.)
    As a result the chain was incomplete and clients did not trust the http site. I tracked this down to the files in /etc/certificates it turned out that of the four files for the server certificate i.e. .key.pem, .chain.pem, .concat.pem and .cert.pem that the .chain.pem did not contain the intermediate CA. I replaced it with the intermediate CA pem file and restarted Apache and clients now get the full chain and can therefore trust the https site.
    My problem now is with the codesigning certificate, this also has been selfsigned this time by the intermediate codesigningCA. It is accepted by Profile Manager and it does sign the profiles. However when I download the Trust profile and try installing it, it comes back unverified. (If it was unsigned it would say unsigned instead.) This trust profile contains a copy of the server certificate and the rootCA certificate but does not contain the intermediate codesigningCA certificate.
    I tried the same trick of swapping out the codesigning .chain.pem file in /etc/certificates but this did not help. I am currently stuck, any suggestions from any one?
    Thanks.

    I would really appreciate being walked through these steps. I just upgraded to Yosemite and Server.app 4 and am dealing with all the brokenness.
    Profile Manager does not show a code signing certificate when I ask it to sign configuration profiles.
    I DO NOT have the Code Signing Certificate in my keychain created when OD was created.
    I DO have the four code signing certificate files:
    /etc/certificates/host.domain.tld.Code Signing Certificate.<UUID hash>.cert.pem
    /etc/certificates/host.domain.tld.Code Signing Certificate.<UUID hash>.chain.pem
    /etc/certificates/host.domain.tld.Code Signing Certificate.<UUID hash>.concat.pem
    /etc/certificates/host.domain.tld.Code Signing Certificate.<UUID hash>.key.pem
    Furthermore, when I search my System keychain passwords, for <UUID hash>, I see that have the password that decrypts these pem's, e.g. via the openssl command
    openssl rsa -outform der -in 'host.domain.tld.Code Signing Certificate.<UUID hash>.key.pem' -out 'host.domain.tld.Code Signing Certificate.<UUID hash>.key'
    What's the specific step-by-step to convert these four files into something that Profile Manager can use to sign configuration profiles?
    I am stuck.

  • Why does firefox not display Create Sign on Icon for Yahoo email?

    I use Yahoo Email, and I want to create a Sign In Seal but it does not show up in Firefox. Is there some way I can get this to show?

    upgrade your browser to Firefox 8 and try
    * getfirefox.com

  • Problem setting provisioning profile in Simulator mode in XCode 3.1

    Hi all
    We have a problem compiling our project after updating XCode to the newest Version (XCode 3.1 and SDK 2.1).
    It's now impossible to select out provisioning profile for the "Simulator | Debug" Settings. "Device | Debug" works perfectly.
    What we do: Under Project Settings - Code Signing Provisioning Profile" we select our profile. This works under "Device Settings" but not under "Simulator Settings".
    Prior to this version we had no problems.
    Anybody had a similar problem and could give us any hints?
    Thanks in advance
    Daniel

    I had similar problems: my solution is that I run in Simulator mode with the default provisioning profile (not my profile, the one that you get when you reset the Code Signing Provisioning Profile parameter). I then use my own profile for distribution (even though I only succeeded in building with Active SDK = iPhone OS 2.1).
    As regards the Debug mode, it looks like it works as simulator, with the default provisioning profile, but in the build log it seems to hook my profile in some way.
    Anyhow, there is definitely something weird in the new SDK 2.1.

  • IPhone: Cannot select my provisioning profile - tried all suggestions

    I am attempting to load an application onto an iPod Touch. I have followed the PDF document at the iPhone Program Portal to the letter, creating a development certificate with name and e-mail address that matches my agent information, a device profile, app IDs with several variations, including com.companyname.myapp, com.companyname.*, * and myapp, and provisioning certificates (one at a time) based on these.
    Both the Apple WWDR certificate and my developer certificate are present in my keychain. It appears I have two keychains - system and login. I have loaded both certificates into one, the other or both keychains.
    In XCode, my provisioning profile appears in the organizer, and also appears on the device. In the properties for my project I have set the bundle identifier to the matching variation of the app id used with the device profile, both with and without the Apple prepended identifier. Under the Code Signing Identity I have tried the default value, no value and "iPhone Developer: FirstName LastName."
    I have removed all the components from the program portal and recreated them from scratch several times.
    No matter what the permutation, my provisioning profile does not appear under the Code Signing Provisioning Profile key. Whether this field is left as the default or the name of my profile is forced in, XCode successfully builds the project with the device as a target, but upon trying to upload reports "an unexpected error 0xE8000001 during the install phase: Verifying application." I have restarted the device multiple times, without effect. I am never asked for a password to access my keychain.
    I have read all the threads in the discussion groups on this topic, and tried their suggestions to no effect. I am using the latest version of the SDK (9M2199a), my iTunes is the latest released version (NOT the developer pre-release), the device is running the latest release version of the OS (2.0.1 - 5B108), and I am running the latest release version of Leopard (10.5.4).
    Developer support recommended I file a bug report.
    Does anybody have any further suggestions?

    1. You may have to rebuild your certificates and your provisions. Soemtimes it can be hit and miss even when followign the pdf.
    2. If you already managed to get a copy of the app on the device delete it directly from the device. Sometiems the system throws an error if it can't delete it.
    3. Certificates go in the login keys.
    4. These days you can downlaod the providsion and drag it to iTunes in dock while your phone is plugged in.
    (Have xcode off when you do this since it seems to cache data)
    5. Check the console to make sure it's checked and for any error messages (minimal info)
    6. Once you've installed the certificates and the provision shut down and restart.
    7. There are 2 places to set the provision. Select the project (top level) on the left in xcode. Do a get info. iPhone Developer: Your Name (note the space after : This needs to match EXACTLY to your certificates which shoudl show up in Keychain Utility under Keys.
    8. Once you have the Developer name then select the provision. If there's none available check mobile provisions in the library and make sure it got copied there.
    9. The other place you need to set the provision is select target on left in xcode. Get Info. Set iPhone Developer: Your Name and set the provision popup.
    10. Make sure to do a full clean and then rebuild.

  • Building an AdHoc Distribution version - AWOL provisioning profile

    Hi All,
    I'm struggling with a local build of an adhoc distributable version of an app/game I'm working on. The application code base all compiles fine direct to my iPhone (2.1) device. However when I try and compile a version for distribution I come up across some difficulties.
    I've followed all the 'How-Too' steps as documented in the Program Portal. I've created the certificate and distribution provisioning profile. However the profile does not show up in the Target > AppName Info > Code Signing > Code Signing Provisioning profile even though the Code signing identity is exactly as entered Distribution Certificate name.
    I fear I'm missing something obvious
    Thanks in advance folks
    Pete

    When you change project settings, make sure you've selected the active (marked as "Active") configuration. Xcode has a bug which sometimes does not show the correct profiles if you're trying to apply changes to a configuration which is not the current active one.
    Hope this helps.

  • CodeSign error: no certificate found in keychain for code signing identity

    I've been wrestling with this for a week. Can someone help. I have followed the instructions closely to get my iphone app ready for distribution, but I cannot compile my app due to the following error:
    CodeSign error: no certificate found in keychain for code signing identity 'iPhone Distribution: iPhone Developer (my name)
    However, it definitely is there. In my Keychain I see the proper certificate. Furthermore, in the build file my Code Signing Identity -> Any iPhone OS Device is set to iPhone Distribution: (my name) but under "Code Signing Provisioning Profile" there are no valid choices. The distribution certificate is grayed out.
    Any help/advice would be greatly appreciated!!

    For the build error, "codesign error: code signing identity 'iphone developer' does not match any code-signing certificate in your keychain":
    1) Open Keychain Access application.
    2) Select the "Systems" tab under the Keychains sidebar and "certificates" under the Categories sidebar.
    3) You should see the "com.apple.kerberos.kdc" and/or "com.apple.systemdefault" certificates with a red x in the icon.
    4) Double click them and under the "trust" node change the "When using this certificate: " tab to Always Trust. You may need to restart Xcode for this to work.

  • Provisioning profile select missing in 2.2??!

    I've just upgraded to the 2.2 SDK and the options in the target info screen for selecting a provisioning profile is now missing in all my projects and any new projects I create
    Is it moved? is it a bug? How do I get this option back?

    The "Code signing identity" field and the "Code Signing Provisioning Profile" field have been merged. Click on "Any iPhone device" and there is a drop-down list which combines the company name and the provisioning profiles, so you just need to select your company name under the provisioning profile that you want to use. Hope this makes sense!

  • Distribution Provisioning Profile Help

    Hi,
    I have an application that I've already uploaded and is available for sale ( using a distribution provisioning profile ). However, something seems to have happened and when I view my "Build" settings I can no longer see the distribution profile in the drop down for "Code Signing Provisioning Profile"... ( along with my Ad Hoc profile as well ).
    My release build profile still shows up fine. I've double and triple checked my "Code Signing Identity" to make sure that it matches my distribution certificate name.
    Just as a side note, I also have my distribution project settings setup to use a "dist.plist" file with the correct "get-task-allow" boolean set to false ( unchecked ).
    Anyone have any ideas on what I could be doing wrong? Any help would be great! Thanks!

    I have the same issue

  • "Invalid Provisioning Profile. The provisioning profile included in the bundle {BUNDLENAME} [{BUNDLENAME}.app] is invalid. [Missing code-signing certificate.]" for brand new, vanilla Mac App

    In OS X Maverick's XCode, I created a brand new Mac > "Cocoa Application", with Core Data and Spotlight Importerl; about as vanilla a Cocoa application I could muster. 
    Under Preferences > Accounts, I signed in to my Mac Developer Account.
    In Targets > Identity, I set Signing to "Mac App Store", and was able to select my Mac Developer Account for "Team".
    I then went to Product > Clean, and then Product > Build for... > Running, and then Produt > Archive.
    In the Organizer, I select the resulting .app and click "Validate", and hit the Mac App Store radio, and hit "Next", and it's able to log into my Mac Developer Account.
    I select my Provisioning Profile in the dropdown, and click "Validate".
    It comes back with several errors:
    1 - "Invalid Provisioning Profile. The provisioning profile included in the bundle {BUNDLENAME} [{BUNDLENAME}.app] is invalid. [Missing code-signing certificate.] For more information, visit the Mac OS Developer Portal."
    2 - "The bundle identifier cannot be changed from the current value, '{DIFFERENT-BUNDLE-FROM-OTHER-PROJECT}'.  If you want to change your bundle identifier, you will need to create a new application in iTunes Connect.
    3 - Invalid Code Signing Entitlements.  The entitlements in your app bundle signature do not match the ones that are contained in the provision profile.  The bundle contains a key that is not included in the provisioning profile: 'com.apple.applications-identifier' in '{BUNDLENAME}.app/Contents/MacOS/{BUNDLENAME}'
    I was able to do the same process before, for a vanilla app, before Mavericks.  I'm not sure if this is a Mavericks error, or a fact that now I have multiple app projects.  Particularly odd is that DIFFERENT-BUNDLE-FROM-OTHER-PROJECT in error (2) is not the same bundle name as the current project's bundle.
    Would love any help you can provide!  Thank you!

    Seen this thread?
    New codesign behavior, --deep option 
    "Code signing has some interesting changes in Mavericks (that apparently haven't made it into the release notes yet...). Note that this is a change to the operating system, not to the devtools."

  • Valid code signing identity not found

    hi guys,
         I have my mac working perfectly with my device using my dev cert (for development purposes not the distribution) and provisioning profile. I can install my apps. But if i'm using another mac, it can't find the valid code signing identity, when I'm installing the same cert and provisioning profile. What should I do to make it install in different machines? is that possible? Please help and tell me what to do. Thank you.

    See TN 2250 / Transferring Your Identities

Maybe you are looking for

  • Auto increment variable in foreach loop in ssis

    i know this has been asked N number of times, but still i have a question for you guys i have files sitting in FTP location i am loading the data from the files into tables (no issues) but i need to assign value to a particular column as -99999999 an

  • Behavior of Web Forms

    Hi all, Currently we are in the process of testing our forms that will be deployed on the web and we seems to be having issue with the fact that when you scroll up/down the display is not smooth. The screen becomes black and shady with all display mo

  • Aperture photo viewer is showing the last photo I edited, not the thumbnail I click.

    I've seen a few bugs on Aperture 3.5 for Mavericks, but the biggest problem is that when I click a thumbnail in the browser view it shows me the last edited photograph, not the thumbnail I clicked. Quitting and reloading solves this, until I edit 5 o

  • Exporting video from iPhoto including music added and theme

    Hi, is there a way to export a video from iPhoto including music and theme? I'm able to export the video itself, with its native sound, but the theme and music added in iPhoto is not included. When trying to share on Flickr - running in to the same p

  • Iphoto keeps crasing

    My Iphoto keeps crashing over and over... I have tried different suggestions from the forum without success.  Can anyone help?  This is the message I get... Process:     iPhoto [850] Path:        /Applications/iPhoto.app/Contents/MacOS/iPhoto Identif