Corrupted certificate: Missing Private Key - macos

All,
I am a first time iMac user. Yesterday I installed Flutter.
I used my iCloud ID to create app signing, as I am only interested in experimenting with my iPhone.
By fooling around by trying to fix another issue ("Codesign wants to access key 'access' in your keychain"), I deleted my Xcode certificate. The net result is that I can neither recover nor re-create the certificate.
How can I fix this issue? Many of the StackOverflow related posts don't appear to apply to me as I don't have a developer account and I am not interested in distribution
I am using Mojave 10.14.6, Xcode 11.3.1

I see you commented, but have you actually opened the keychain app? most of the settings for Mac is, once the application is selected, in the upper left of the screen there are preferences and options in the keychain app to delete the keychain, which would allow a fresh start. Keychain can break easily in my experience

Everything seems to be working ...
I decided to check for firmware updates, and the Mac updated from Mojave to Catalina. For reasons I don't understand, but won't complain about, that fixed the certificate issue. The certificate was automatically regenerated/fixed (?) and Xcode stopped complaining
Using Xcode, I then tried to install the app on my iPhone. I had the following error dyld: Library not loaded which apparently was due to the fact that I was using a non-developer ID. The post recommended upgrading the iPhone to iOS 13.4.
Once I did that, however, Xcode (on the laptop) was out of sync with the iPhone. I upgraded Xcode to the latest version
Xcode successfully managed to install the app on my iPhone
Flutter successfully managed to install the app on my iPhone.
#Daniel and #Gordon, thank you for your assistance

Related

Account not able to sign in Xcode?

I am new for developing the IOS application. so I have used xcode version 7.3.1 so I am not able to build the IOS 10 version. so xcode 7.3.1 not supported. so I trying to update but it can't able to update because mac has lower version. so I decided to install xip format. then I installed it, I have tried to build the app in xcode 8.0. then I have deleted the apple id which was already added in xcode 7.3.1. so both version affected it not showing account in xcode. after that I trying to add the account in xcode both version. it getting below given error, please any one help to slove the problem..
Make sure you can login to apple developer: Apple Developer Login
If that is not working, it means it's an issue with either your login credentials, or (more unlikely) there is an issue with Apple's servers and you simply must try later.
Try creating a new apple id as a test to see if it's an issue with the apple id, or an issue with your Xcode or computer's setup.
In my case error occurred because of VPN connection.

xcode developer certificates and reset and reinstall

i installed xcode(6.3.1 beta) for unity ios app in Yosemite and was working fine when in upgrade to sierra and upgrade to xcode(8.1) xcode was not working and after checking in forms i found that it is OS issue i inatlled xlion .The problem i have another mac with Yosemite and installed the xcode(6.3.1) and was messed up with key chain and other certificated for provision and distribution.Now i totally messed with xcode and distribution in developer account certificates and i was totally working with it for past two days and clueless what to do,How can i clear all developer certificates and key chain certificates from xcode like development and distribution i want to reset all things in xcode and developer account and start from starch and setup again everything .Please what are the things we needed to delete in the developer account and xcode and key chains and setup again to start as a new.
Got to https://developer.apple.com/account/ios/certificate/
then revoke you certificate..
then go to xcode. add a certificate to your project using your account xcode then will create certificate for you.... cheers...

Xcode 4.3.2 and iOS 5.1.1 + jailbreak: App installs but crash on launch

I don't have the Apple 79€/year account. In iOS 5.0 and Xcode 4.2.1 I changed SDKSettings.plist ecc... And it works. In iOS 5.1.1 and Xcode 4.3.2 no, I already changed settings ecc but don't work, the app installs on device but crash on launch... How can I run my app on device without crashes? Thanks, and sorry for my english.
I have had this issue before on a jailbroken device. You have a few solutions depending on the exact issue. First you can install app sync in order to allow unsigned code to work on your device if you are not using a valid code signing identity. The second option is to actually get a valid code signing identity along with the provision profile so you can run the application correctly. This involves paying for the developer program so this may not be the best option.
Last is a very common issue with jailbroken devices. Which is that you will receive an error such as "failed to get the task for process xxxxx". This tends to happen a lot with jailbroken devices. This is because Xcode notices you are not using a provision profile that is required to report error logs. All you have to do is launch the application again on the device and everything should work.
This is just Xcode not being able to fully launch your application because of the missing provision profile so it results in a crash. If none of these solutions solve your problem please post a more detailed explanation of the issue you are having.

.provisionprofile wont load into keychain or XCODE4

I'm a mac OSX developer and have an App which I am trying to get ready for the App Store. The provisioning file which I created on the Apple developer site and then downloaded via Safari is not recognized as a valid extension by anything. I cant load this document into either XCODE4 or the keychain. All of the other certificates have worked as expended. I have uninstalled XCode and then reinstalled it. Still a no-go. I can't find any help anywhere on the web. I have written apple developer support and have been waiting nearly two weeks.
This can't be this difficult to fix... Help please.
I got my own answer from apple dev... You have to be using Lion and Xcode4 for lion...
This really blows since I have some tools that require Rosetta in order to run. Now that Apple has removed Rosetta in lion this will complicate some product development and maintenance.
I will try this upgrade and see if it fixes the provision file problem...

Unable to restore to 3.1.3 in Xcode organizer

I am using Xcode 3.2.1 and I accidentally updated my iPod to 4.2.1 in iTunes.
When I open Xcode > Organizer and try to restore my iPod to 3.1.3.
http://img195.imageshack.us/i/screenshot20110318at630.png/
It fails with an error message: Unable to preflight personalized install
http://img402.imageshack.us/i/screenshot20110318at633.png/
I am using this software image:
iPod2,1_3.1.3_7E18_Restore.ipsw
And I am quite sure this image is not corrupted since it comes from pfd.apple.com and I have re-downloaded it for several times.
My iPod is a registered device in the Provisioning Portal and I have never jailbroken it before.
What do you think the problem is?
Thanks in advance.
I have searched in the apple member center developer forum, after reading some posts, what I can conclude is, unless you have previously saved you SHSH, you cannot possibly downgrade it from 4.x to 3.1.3.
Ignoring the option of buying another iPod which still has the 3.1.3 iOS installed, the only option you are left with, is to persuade yourself that most people are already using 4.x iOS and supporting 3.1.3 is not that important.

Resources