一、真機(jī)調(diào)試遇到錯誤
1、真機(jī)調(diào)試用到證書是遇到這樣的錯誤
第一句:xxxx is automatically signed, but provisioning profile iPad_run has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.
第二句:CodeSign error: code signing is required for product type Application in SDK iOS 10.1.1
然而,怎么也沒法選擇自己的證書

Snip20161123_1.png
解決:
1、csdn有篇文章,可以先看,他截圖了
轉(zhuǎn)一下博主的文章你就是我心中的棉花糖
2、我的辦法,提示自動和手動沖突,就改成手動

Snip20161123_4.png
要注意,配置文件,別忘了添加UUID并且重新添加導(dǎo)入,然后就會發(fā)現(xiàn)第一幅圖片中的provising profile可以選擇了
這樣真機(jī)調(diào)試就沒問題了