Swift Package Manager - Swift 4 syntax

我与影子孤独终老i 提交于 2019-12-03 11:12:08

You're missing the tools version specifier in your manifest; add the following as the first line of your Package.swift:

// swift-tools-version:4.0

By default if that line is omitted, it'll default to manifest version 3 and also compiler version 3. For more information see SE-0152 or Swift Package Manager Manifest API Redesign on swift.org.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!