xcode10 真机运行A valid provisioning profile for this executable was not found

环境:macOS 10.13.6  +  xcode10

情景:ionic3+cordova创建的项目,浏览器运行良好,想去ios上安装看看,按照ionic的文档 和xcode证书配置博客(https://blog.csdn.net/shihuboke/article/details/73558582?utm_source=blogxgwz1)一直走到run的一步,连接模拟器的话一切正常,连接手机就报证书找不到:

A valid provisioning profile for this executable was not found 

xcode10 真机运行A valid provisioning profile for this executable was not found_第1张图片

但是项目配置里已经自动生成了我的账号下的证书,查看设备里的证书列表却没有,搜索到若干回答都无效,最终向专业人士请教才终于解决:

File>workspace setting>设为legacy build。据说是版本bug,用回9的这个build就好了


xcode10 真机运行A valid provisioning profile for this executable was not found_第2张图片

你可能感兴趣的:(xcode10 真机运行A valid provisioning profile for this executable was not found)