iOS版本换了签名之后,删除了一些旧设备,然后用命令行做版本的时候提示
Code Signing Error: Provisioning profile "xxxxx" doesn't include the currently selected device "xxx's iPhone".
但是直接连真机到XCode上是可以build出来的.
解决方法是在Mac/用户/xxx/资源库/Preferences的com.apple.dt.xcodebuild.plist文件中删除这个找不到的设备