Xcode具有一个Internet密码,它与特定的访问组一起存储在钥匙串中。我正在尝试使用security
命令行工具复制此文件,但不确定如何提供非应用程序二进制文件进行访问。
security add-internet-password -a "USER" -w "PASS" -s sample.com -A
我将如何包含59GAB85EFG.com.apple.dt.Xcode
?
您可以包括这样的应用程序路径:
security add-internet-password -a "USER" -w "PASS" -s sample.com -T /Applications/Xcode.app