選中Xcode 選擇 Product -> Scheme -> Edit Scheme 如圖 然后 如果 Executable 選項為 None的話,請選擇要運行的項目 如圖 把 None 改成 要運行的的項目即可蜂怎。