我想在xcode 7中使用遊樂場來測試一些代碼,但由於某種原因它不會運行。遊樂場執行失敗:
這是我得到
錯誤遊樂場執行失敗:/var/folders/q6/zswv_4wj16zbckfbdtl9lmyh0000gp/T/./lldb/11352/playground14.swift:1:8:錯誤:模塊文件的最低部署目標是ios9.0 v9.0:/var/folders/q6/zswv_4wj16zbckfbdtl9lmyh0000gp/T/com.apple.dt.Xcode.pg/auxiliarymodules/C2294E15-2E60-47B3-8A0B-DABB2C0C3D88/MyPlayground_Sources.framework/Modules/MyPlayground_Sources .swiftmodule/x86_64.swiftmodule import MyPlayground_Sources
這是我試圖執行的非常簡單的代碼。
class testClass{
var property = "some property"
}
var test = testClass()
test.property
模塊文件的最小部署目標是什麼意思是ios9.0?
嘗試重新啓動Xcode。 –
試過了,沒有工作。 –