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.