Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 Xcode 9.2,我想我自动拥有 Swift 4.1。所以我尝试导入一些模块,例如:
import Hero import EGFormValidator
但它给了我一个错误,说它无法识别这些模块。如何在我的 Xcode 上访问 Swift 4.1?
您可能正在使用 CocoaPods。尝试清理然后重建您的项目。
但是请确保您使用的是文件.xcworkspace而不是.xcodeproj文件!
.xcworkspace
.xcodeproj