简体   繁体   中英

No such module “PackageDescription” Swift 3 Xcode 8

I am trying to use this cocoapod for calendar functionality, but I am running into an error. I properly installed the cocoapod, but the tutorial also had me drag and drop some files into my xcode project. Among those files is Package.Swift. At the top, it has me import PackageDescription and I am getting this error. 这个错误 . If I get rid of this file I get many more errors throughout the project. What should I do?

Try to: 1) delete these entered lines with import, etc. 2) reopen the Xcode 3) press Cmd + B 4) write import PackageDescription again

It helped me many times.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM