Mac defaults 儲存路徑
non-sandboxed:
~/Library/Preferences/com.example.myapp.plist
sandboxed:
~/Library/Containers/com.example.myapp/Data/Library/Preferences/com.example.myapp.plist
defaults 命令只能讀取 sandboxed 的。
但是,Xcode 除錯時執行的 app,defaults 存在哪個目錄呢?我也不知道。