MacOS X Snow Leopard / Cannot delete my old certifcate in keychain - xcode

I have imported a new iPhone Developer Certificate in my keychain and deleted the old one since Xcode does not want to choose between two certificates when signing code (even when one is no more valid).
What's weird is that this old certificate sometimes shows up again whereas I already deleted it. So, I have to delete it several times a week.
Did someone face this issue ? Any idea to fix that ?
Many thanks,
Franz

I answered a similar question here. I'm assuming you are using XCode 4, so your best bet is to follow my instructions for clearing out all your old stuff, and letting XCode do the legwork for you.

Switching to Xcode 4.2 (for Snow Leopard) solved the issue.

Related

Corrupted certificate: Missing Private Key

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

xcode 8 not running

I installed the Xcode 8. But it stuck at licence agreement screen. I clicked agree and enter system password but Xcode stuck at same screen. Have anyone faced the same issue and their resolution.
OS Version 10.11.6 (El Captain)
I think I have faced a similar issue for an older version of Xcode. What you should do is to delete the app completely and try to reinstall it. If that does not work for you, try upgrading to the latest version of MacOS and try again. I believe this is a bug on Apple's end, but it shouldn't occur again if you try these things.
Also, make sure you are connected to the internet. If you are not, it may not be able to understand that you have accepted their agreement.

How can I install Xcode 6 along side Xcode 5?

I was wondering if there is a way that I could install Xcode 6 along side Xcode 5. I've seen people say you could but they haven't really explained why. Can someone help to explain why? Also, how would you uninstall it if I wished to in the future?
It's simple. The Xcode 6 beta is named Xcode6-beta.app and you drag install it into /Applications. The GM version of Xcode is called Xcode.app. If you need to switch the command line tools you use xcode-select. Nothing has changed here. It's the same as it's been. When you want to "uninstall" it, drag it to the trash. It's that simple.
You can also change the default command line tools via GUI, if you prefer: XCode > Preferences > Locations, Dropdown "Command Line Tools"...
Attention, you can effectively install Xcode 6 and keep Xcode 5 but this is not working perfectly fine. For example this broke my Xcode 5 IOS6 simulators and I am now unable to run my apps on this old ios version (see here)
I didn't find any solution for now and there may be others problems, so be aware this operation is not without risks
You might be far better off creating a partition with OSX Yosemite and installing Beta Software there. I moved over my apps to the Yosemite partition and only the Xcode 6 Beta 4 ran them - yeah!
Here is where I will work with untested software.
Good luck!

.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...

Install iOS SDK to new Xcode

I just bought a new Macbook pro and install the Xcode in the disk to my machine, but, that Xcode only has mac sdk. How can I install other iOS sdk in? I just don't want to wait for redownloading the whole Xcode because with my network connection, it takes me up to 8 hours.
Apple's Developer Tools Evangelist, Michael Jurwitz, has stated on many many occasions that the developer tools team are aware of peoples frustrations with not having an incremental upgrade system.
Unfortunately, no matter how aware they may be, nothing has been done about it for as long as the developer tools have been available.
And now that Xcode 4 is available on the Mac App Store, it seems to me that getting an incremental upgrade system is even less likely (although that is just conjecture on my part). I say this because the Mac App Store, like its iPhone counterpart, downloads the new app in full when an update is available.
There is nothing more you can do other than wait for the download, I'm afraid.
There is no other way than re-download all sdk. I'm sorry man.
This has been answered here before: Old answer
And the sad answer is no. You will have to redownload the whole package every time.
Since they just upgraded their Xcode to version 4 (on 9 March 2011) , it's better for you to download the new Xcode.

Resources