2013-04-04 28 views
1

我試圖運行「空白項目」的發現, http://www.stanford.edu/class/cs106b/如何在Xcode中選擇正確的目的地?

它應該添加StanfordCPPLib Xcode的(我用4.6),我猜斯坦福模板爲好。

收到錯誤消息: (Xcode中不能運行使用選定的目的地 - 爲了這個系統上運行的選擇與支持架構的目標)

我一直在嘗試不同的架構,但所有給我同樣的錯誤。

任何想法我錯過了這個工作? THX

回答

0

運行C++在Mac:

« Open Xcode. 
« Xcode-> File -> New ->Project 
« Select Command line tool. See image for more clear information. 
« Just edit your code in main.cpp then Run. 

enter image description here

相關問題