Xcode asks for a password to do some changes - xcode

Hi I just downloaded Xcode for free after agreeing to the terms and conditions a message pops up saying "Xcode would like to do some changes please type your password" I tried to put apple ID password but it is not working. Please advise

Related

CreateML: "The document could not be saved."

I am getting following error with CreateML with testing output on a Image Classifier project:
"The document could not be saved. You don’t have permission.
To view or change permissions, select the item in the Finder and choose File > Get Info."
Software version:
Xcode 11.0 beta 7 (11M392r)
Catalina 10.15 Beta (19A546d)
What I have done so far:
1- Made sure I have full permission to the file in Finder
2- Followed this tutorial for troubleshooting permission:
https://www.macworld.com/article/2978282/when-save-as-says-you-dont-have-permission.html
3- Removed file out of iCloud zone, to make sure iCloud is not messing up anything.
However, I am still getting this message and cannot use CreateML.
Appreciate any help! : )
Cheers
Go to System Preferences > Security & Privacy. Click the Privacy tab, and find Full Disk Access on the left. Here you need to add CreateML. You'll likely want to add the Terminal as well.

Why am I getting the error "Command /usr/bin/codesign failed with exit code 1" in Xcode 6 on Yosemite?

I'm using Xcode 6.1, OS X Yosemite preview 8, and I'm getting the following error on code signing my app:
Command /usr/bin/codesign failed with exit code 1
Reading on Google, it seems to be linked to expired certificates/provisioning profiles. I deleted all of my certificates & profiles, created a new development certificate & profile, installed both, restarted my Mac, and I’m still getting the same error.
Can anyone shed some light on how to resolve this problem?
How about this: Try Xcode -> Preferences -> Accounts -> Choose your account, and then View Details -> Refresh (button on bottom left), Refresh again, restart XCode. Sounds like voodoo but it works for me and my team! (Posting it as answer, because it DOES work, at least sometimes and for some people. Possibly related to the weather ;) )
as of Xcode 6.3.2, here's what I did.
from main project view, click on build settings and in the search bar type in certificate, a code signing tab should pop up, I chose "dont sign code". and it worked
So I've managed to fix the issue for my particular case - in the build settings, instead of automatically detecting the certificate & provisioning profile to use, I manually set them - and it works.
In my case I was getting this error while trying to build a project I downloaded from Github for my own personal use. I just went to the build settings and told it not to sign the code.
Another gotcha I noticed is that codesign will fail if run from an ordinary ssh login session. It has to be run on a MacOSX desktop GUI shell window. This catches me every time, so I've added a line to the build script to print a message about running the script on the MacOSX GUI if codesign fails.
Delete previous provisional profile and add new provisional profile.restart the machine if still its giving an error like above. when your machine shut off then automatically your device asking for permission then select Confirm and run your code....its working.
There appears to be a bug in XCode (I'm using 7.1.1) with returning to "Signing: None" after having attempted to sign with an expired identity, resulting in this codesign error even after you've apparently removed the bad signing identity.
The project.pbxproj file retains TargetAttributes for the expired identity, and Debug and Release settings both continue to show the following instead of the original empty values:
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
This persists after cmd+alt+shift+K and closing XCode. I fixed it with a git reset (if I hadn't committed before attempting to sign, I'm not sure how I would have found this).
I had to delete all my developer certificates from Keychain Access first, then use the Preferences -> Accounts -> View Details -> Download All approach to successfully re-sign my code.

Xcode: Add git server: "Server is disabled"

I just set up a small GitLab server on my Proxmox box and want to use it for my Xcode projects. I create a new project in Xcode and under "Create new git repository on", I select "Add new server". Then, I enter the address (ssh://git.tobi-soft.de) and give it my username and password (I tried both my username and email address).
But then Xcode comes back and says "Server is disabled". Is this a configuration issue on my server, a bad URL or simply a bug in Xcode? (Xcode 5 DP3)
Thanks
Tobias Timpe
I get the same error message with Xcode 5 DP3. Can't really go into much more detail (NDA); and can't discuss it anywhere else as the Dev Forums are down!

Error : The associated package identity has expired

I'm trying to validate an archive, before submitting it to the app store, but I keep getting the following error :
"MY NAME" is a valid identity. However, the associated package
identity "MY NAME" has expired.
There is an option to "Refresh Code Signing Identity", but nothing seems to happen.
What could be going wrong? Any ideas?
Hint : It's not my first time uploading an archive to the app store; I've already done that like 100 times. The thing is I'm using a different development machine and think that probably this is the one to blame. But I'm still confused...
I had the same issue. Deleting the expired developer certificates via "Keychain Access" did the trick for me.
From Keychain Access, View, Show Expired Certificates and delete all of them.
MAS: Code Signing Identity Private Key
Francesco Germinara
I had this exact error message, and it turns out that I needed to download and install both the Mac App certificate as well as the Mac Installer certificate, but I had only downloaded the Mac App one.

XCode: "To download this update...". Is this dialog normal?

I'm getting a dialog box asking to enter my apple developer id & password in xcode. It just says something like "To download this update enter your information." then i goes away.
Is this normal? Seems to me that this would be the perfect way for a trojan to get my apple id and pwd!
It has just happened to me, too (with the current GM Seed version). I was creating a new project when the pop-up dialog appeared.
To be on the safe side, I changed my password immediately after the incident.
What were YOU doing in Xcode when it happened to you? Are you using Xcode 3.2.2, too?
Anybody else having this issue?
The only explanation I found is here:
http://lists.apple.com/archives/xcode-users/2010/Mar/msg00265.html
Then, under /Developer/..., I found a .docset file with a time stamp corresponding to the point in time (plus a couple of minutes) when I had entered my credentials.
However, when I tried to log out & in again, open Xcode - Preferences - Documentation and initiate another download, Xcode did NOT ask me for my Apple ID/PDW again; instead, it asked me for the admin password as usual (I mean - usual for installations; the dialog box looked a bit different). So I am still wondering ...
Regards,
Karel

Resources