修改Bundle identifier后,真机测试报错!提示还是原来的Bundle identifier

上图

image

图片看不了,请看文字:

Failed to code sign "Demo"

the provisioning profile specified in your build setting("真机调试证书的名字") has an AppID of "修改的Bundle identifier" which does not match your bundle indetifier"修改之前的Bundle identifier".

..........

除了修改info.plist里面的Bundle identifier外,还需要修改一处:

image

图片看不了,请看文字:

Build Setting - Product Bundle Identifier - com.company.demo(修改此处)

你可能感兴趣的:(修改Bundle identifier后,真机测试报错!提示还是原来的Bundle identifier)