के साथ स्विफ्ट आरईपीएल का उपयोग कैसे कर सकता हूं क्या मैं आईओएस एसडीके के साथ स्विफ्ट आरईपीएल चला सकता हूं?मैं आईओएस एसडीके
मैं आरईपीएल में UIKit
आयात और उपयोग करना चाहता हूं, लेकिन कोई सफलता नहीं।
$ xcrun --sdk iphonesimulator8.1 --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk
$ xcrun --sdk iphonesimulator8.1 swift
Welcome to Swift! Type :help for assistance.
1> import UIKit
/var/folders/kb/xgglxb597sv6h8b744d5vft00000gn/T/lldb/92014/repl1.swift:2:8: error: no such module 'UIKit'
import UIKit
^
$ swift -sdk `xcrun --sdk iphonesimulator8.1 --show-sdk-path`
Welcome to Swift! Type :help for assistance.
1> import UIKit
/var/folders/kb/xgglxb597sv6h8b744d5vft00000gn/T/lldb/91881/repl1.swift:2:8: error: no such module 'UIKit'
import UIKit
^
1> import Cocoa
2>
मैं Xcode संस्करण 6.1 (6A1052d) का उपयोग कर रहा
क्या यह बदल गया है? – Raphael