今天真机调试的时候莫名其妙遇到了这样的一个问题:
This product type must be built using a provisioning profile, however no provisioning profile matching both the identity "iPhone Developer" and the bundle identifier.....
具体如下图所示:
十分蛋疼, 发现不管是从网上下的demo, 还是自己的过程。凡事真机测试的时候都会报那个错。
大题就是证书错误。
可是, 我一直用的都是通用证书---iOS iOS Team Provisioning Profile: *。之前都没问题的。上个课回来就出问题了。
费解。
再到Organizer中看了一下, 发现通用证书还是亮绿灯的。(Valid profile)
这下更费解了..
明明通用证书没问题阿,明明我什么都没干阿。 怎么就不行了。
然后抱着侥幸心里, 看了下iOS Certificates。发现被人下黑手了...