How do you check if your signing identity is installed on another Mac? (Error: Your Account already has a valid iOS Distribution Certificate) - xcode8

I have an error when trying to upload an app to TestFlight. It says I have a valid iOS certificate on developer website but that it is not installed locally
I did get a new MacBook recently and I think this might be causing my issue. How do I check if my singing identity is installed on another Mac and if so, how to I install it locally on my new MacBook?
Really lost here at the mo.

Here are the Steps for solving this issue :
Go to Xcode Prefrence and Remove all developer account
Clean And Build ( in Simulator ) and Restart Xcode .
Go To Apple Developer Account ( developer.apple.com)
Download Certificate , provisioning profile already created
After Downloading , click each one to add in Keychain
Now Again Go To XCode Preference -> Account and Add Apple Account
After Adding Apple Account , There is a button to Check View
Details
Go To view Details and just make sure everything is correct
Now Go to XCode and Set Automatically Managing Signing
10.And Run app on Device , if successful then Archive and Enjoy.
This way recently i solved one my friend issue and Hope it works for you also.
Feel free to comment . Thanks

Related

Your account already has a signing certificate for this machine but it is not present in your keychain

I get this error, verbatim, when trying to build and install to a device.
This is my environment:
Xcode 8
El Capitan
Has anyone run into this problem? How did you solve it?
Thank you
Go to Xcode Preferences -> Accounts tab -> Double-click your team name -> Click the + at the bottom left of the dialog box that appears -> Select iOS Development.
This will create a new development certificate that will allow you to install and test on your device.
In my case problem was in revoked certificate.
To fix this problem:
Go to Xcode –> Preferences –> Accounts –> Select needed Apple ID –> Double-click your Team –> Check certificate with Status Revoked.
Go to Keychain Access –> Search for certificate was revoked –> Delete it.
I got this error immediately after a repair to replace the MagSafe module on my MacBook Pro (I am guessing the long period with the battery unplugged reset the SMC). I really didn't want to recreate the signing certificate so I went into the Keychain, realised I had so many expired keys still present and decided to delete the expired ones. I Go back to Xcode, clean the project and rebuild and boom...everything works fine. Hope this helps someone
go to your apple developer site and download the signing certificate. Once downloaded you should be able to click and it will auto do its thing and should be good after that

getting App Installation Failed - a valid provisioning profile is not available

I just upgraded to Xcode 8.
Started getting this error when i try to run my app on my iphone:
Things i have verified
My iphone is listed in the dev portal with the correct UDID
I have removed and re-added the provisioning profiles many times in xcode
Any ideas guys?
Do you have automatic code signing activated? What's the log output of the Sign step (see Report Navigator for a specific build)? Does the Sign step use your correct Signing Identity and Provisioning Profile? If not, you need to open the project's General Tab and either
activate Automatic Code Signing
(Check "Automatically Manage Signing")
or configure the Development Team and Provisioning Profile yourself

How to remove code signing in Xcode?

I've created an iOS7 project in Xcode 5. It's a very simple app. I zipped it and sent it to another developer. When they open it, they get these messages:
No matching code signing identity found
No code signing identities (i.e.certificate and private key pairs)
matching "iPhone Developer" were found. Xcode can resolve this issue
by downloading a new provisioning profile from the Member Center.
How do they get around this? The app isn't going to be submitted to the app store.
Is this happening because they have not linked Xcode to their online developer account? Isn't an online developer account free?
The other developer can ignore that message if the intention is to run the app on the Simulator. But you must use code signing in order to run an app from Xcode on a device, even for testing purposes, even if the app is never going to be submitted to the App Store. And that costs $99/year. End of story.
You could turn your account into a Company account and put this developer on your company; that way the developer is covered under your $99.
Or, if you just want to send the app to someone for testing and you don't need them to run the app directly from Xcode on a device, you can create an Ad Hoc build targeted to their device.
And of course the developer can look at your code, test on the simulator, and run your previously built Ad Hoc build on the device - but not run from Xcode on the device, i.e. the developer can not build for a device without someone paying that $99/year fee.

"Invalid Provisioning Profile... [Missing code-signing certificate.]" for brand new, Vanilla Mac App in OS X Mavericks

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!
Seems like this was a secret key missing or corruption issue. I ended up revoking the existing certificates and profiles I had in XCode > Preferences > Accounts, and issuing new ones.
You may need to set a provisional profile in the Build Settings section.
See here: Xcode 5: Code signing entitlement errors
and here: Weird code-signing error
Go to Apple Developer Portal, recreate the provisioning profile (distribution profile in your case) and download it again. Make sure that the Distribution certificate is installed in your Keychain Access in order to sign apps submitted for the App Store. and Recheck ur Bundule Id as well
You should try setting up a WildCard Provisioning Profile and go from there.

App Wireless Distribution not working in iOS7. Internet Connection needed?

In iOS6 I used to install some of my apps over an adhoc network without internet sharing. So the iPad had no internet connection. Therefore I use a typical html and plist file. Everything was alright.
Now, in iOS7 the installation is not working anymore. It is just stuck in "Waiting" and nothing more happens. (Note: It is still working on my iOS6 iPad)
First I thought something might be wrong with my plist, but then I copied the files to my IIS Server and installed it from there. Here I had a internet connection on my iPad and everything worked out.
Is it possible that the wireless distribution now needs an internet connection in iOS7 e.g. to check the ipa in the app store or something like that? Because this is the only difference I can see.
The app is signed with a valid distribution profile.
Thanks for your help.
It turned out the installation of apps over the air in iOS 7 really needs an internet connection now. The iPad tries to contact at least the following URLs before installing the app.
ax.init.itunes.apple.com: The device obtains the current file-size limit for downloading apps over the cellular network.
ocsp.apple.com: The device contacts this site to check the status of the distribution certificate used to sign the provisioning profile.
It seems in iOS6 it was ok if those URLs were not reachable and now in iOS 7 they have to be reachable.
Well i just had the same problem and I figured it out. At least on my xcode this is what happened. Turns out the application target release code siging identities auto set to developer and not their current state, from xcode 4.x, which is distribution. So when I went to distribute my application I kept getting the same error you had. So Click on your project name in your project explorer then click on the application target, not the project, and make sure the code signing identity is not set to developer for your releases. I have no idea why the code signing identities were automatically set to the developer profile, maybe there was some sort of bug when updating from xcdoe 4.x to xcode 5 that caused this. But now other devices are able to install the program. Hope this helps.