The application does not have a valid signature解决方案

xcode 8 项目编译成功后,真机联调,提示“The application does not have a valid signature.”,包无法安装到设备上,如下图

The application does not have a valid signature解决方案_第1张图片

解决方法是 clearn当前工程,可以删除DerivedData路径下所有的文件,真实路径是 /Users/UserName/Library/Developer/Xcode/DerivedData ,UserName表示当前mac设备的用户名,重新编译安装即可

你可能感兴趣的:(The application does not have a valid signature解决方案)