Xcode版本落后于真机iOS版本的解决方案:
https://gitee.com/Han0/iOSDeviceSupport
Xcode profile存放路径:~/Library/MobileDevice/Provisioning Profiles
Xcode 重置偏好设置 defaults delete com.apple.dt.Xcode
需要定时清理的:
/Users/lixiang/Library/Developer/Xcode/DerivedData
/Users/lixiang/Library/Developer/Xcode/iOS\ DeviceSupport
/Users/lixiang/Library/Developer/Xcode/watchOS\ DeviceSupport
/Users/lixiang/Library/Developer/Xcode/DocumentationCache
等同级别文件夹,都可以清理。
// 屏蔽杂乱日志 OS_ACTIVITY_MODE disable
// 禁止Xcode indexing defaults write com.apple.dt.XCode IDEIndexDisable 1 defaults write com.apple.dt.XCode IDEIndexDisable 0
// 不升级仓库 pod update --verbose --no-repo-update pod install --verbose --no-repo-update
// 删除多余的模拟器 /Library/Developer/CoreSimulator/Profiles/Runtimes