You don’t have permission to save the file “project.xcworkspace” in the folder “CodeTracker.xcodeproj”

问题

在进行ionic开发,构建ios平台时,运行CodeTracker.xcodeproj,经常报权限错误You don’t have permission to save the file “project.xcworkspace” in the folder “CodeTracker.xcodeproj”
don’t have permission

解决

选择ios文件夹,单击右键-Get Info-将staff用户设置为具有读写权限,同时点击设置按钮应用到所有子文件中.
solution