關(guān)于【iOS】Signing for requires a development team. Select a development team in the project editor. 錯誤改正:
Xcode -> Preferences… ->Accounts

左下角的“+” -> Add Apple ID -> 輸入自己的Apple ID 和密碼

此時能看到自己的Apple ID iOS和Mac處顯示的是Free。選中它。然后點擊 View Details… -> 在iOS Development后面選擇create。

點擊一下左邊工程根目錄的圖標,在Identity -> Team 處選中自己的Apple ID

此時Team下面會出現(xiàn)警告 No provisioning profiles found。點擊Fix Issue。

修改后是下面這個樣子

這時候數(shù)據(jù)線連接自己的真機。在調(diào)試設備的地方選擇自己的真機。然后就可以調(diào)試了。