V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
Him
V2EX  ›  iDev

[求助]Swift Package Manager build 失败 -> no such module 'PackageDescription'

  •  
  •   Him · 2016-03-28 22:33:06 +08:00 · 3826 次点击
    这是一个创建于 3188 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    求助,这要怎么解决……

    5 条回复    2016-03-30 12:17:01 +08:00
    ipconfiger
        1
    ipconfiger  
       2016-03-28 22:58:55 +08:00
    看看你的 Packages.swift 呢
    Him
        2
    Him  
    OP
       2016-03-28 23:43:12 +08:00
    @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)
    ]
    )
    ipconfiger
        3
    ipconfiger  
       2016-03-29 00:01:45 +08:00
    @Him 你怎么编译的呢? swift build?
    Him
        4
    Him  
    OP
       2016-03-29 00:02:28 +08:00
    @ipconfiger 恩 是的 是在 Mac OS 上
    Him
        5
    Him  
    OP
       2016-03-30 12:17:01 +08:00
    @ipconfiger 无解吗
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2730 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:31 · PVG 19:31 · LAX 03:31 · JFK 06:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.