swift build -> no such module 'PackageDescription'
swift version: Apple Swift version 3.0-dev (LLVM b010debd0e, Clang 3e4d01d89b, Swift 7182c58cb2) Target: x86_64-apple-macosx10.9
swift package manager version: Apple Swift Package Manager 0.1
求助,这要怎么解决……
1
ipconfiger 2016-03-28 22:58:55 +08:00
看看你的 Packages.swift 呢
|
2
Him OP @ipconfiger
import PackageDescription let package = Package( name: "translator", dependencies: [ .Package(url: "https://github.com/iachievedit/CJSONC", majorVersion: 1), .Package(url: "https://github.com/PureSwift/CcURL", majorVersion: 1) ] ) |
3
ipconfiger 2016-03-29 00:01:45 +08:00
@Him 你怎么编译的呢? swift build?
|
4
Him OP @ipconfiger 恩 是的 是在 Mac OS 上
|
5
Him OP @ipconfiger 无解吗
|