xcode在真机调试的时候出现"The identity used to sign the executable is no longer valid"

换了新mac,使用在同学那边拿到证书和provisioning文件,在真机调试的时候出现了如标题一样的错误。开始以为是因为证书和provisioning文件都需要重新搞过,然后才发现是因为在xcode中的Build Settings中没有设置好Provisioning Profile,如图



你可能感兴趣的:(xcode在真机调试的时候出现"The identity used to sign the executable is no longer valid")