reactNative ios真機測試的時候,死活都不行 Signing for "XXXXXX" requires a development team. Select a development
阿新 • • 發佈:2018-12-30
開啟之前的程式,如果沒有證書是這樣的: 執行報錯:Signing for "XXXXXX" requires a development team. Select a development team in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'
0A37CF11-4B97-4448-BEDD-7D1D4DEE32C9.png我們先把上面的對勾去掉,然後將所有Project和Targets下的Build Settings 下的Signing 全部選擇 iOS Developer
最後將工程clean一下,關閉Xcode再重新開啟,點選自動管理證書的那個對勾,team選擇自己的Apple ID(不需要是開發者賬號) ,系統會主動給你生成證書的。如果不行請多試幾次,改一下bundle identifier什麼的。