# 使用相对路径是不行的
$ defaults read /Users/wangxuefeng/Desktop/ExportOptions.plist
{
compileBitcode = 0;
method = "ad-hoc";
signingStyle = automatic;
stripSwiftSymbols = 1;
teamID = HV9T44VGD2;
thinning = "<none>";
}
$ defaults read /Users/wangxuefeng/Desktop/ExportOptions.plist method
ad-hoc
$ defaults write /Users/wangxuefeng/Desktop/ExportOptions.plist method development
$ defaults read /Users/wangxuefeng/Desktop/ExportOptions.plist method
development
唯一需要注意的地方就是在指定plist文件路径时,使用相对路径是无效的。