ios - 错误 : unable to read module map contents from 'Target Support Files in iOS

标签 ios swift swift3

我在运行应用程序时遇到以下问题。但我被困在这个问题上

error: unable to read module map contents from 'Target Support Files/AFNetworking/AFNetworking.modulemap': Error Domain=NSCocoaErrorDomain Code=260 "The file “AFNetworking.modulemap” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Volumes/DATA/Working Projects/demo New/BackUp/21-3/demo/V1/Pods/Target Support Files/AFNetworking/AFNetworking.modulemap, NSUnderlyingError=0x7fae56f2e1c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

请查看截图 issue image

你能帮我解决这个问题吗?

最佳答案

Xcode 可能正在使用另一个项目的项目路径,即使您的项目是一个新项目。关闭 Xcode 并从 ~/Library/Preferences/中删除 xcode 首选项可能会解决此问题。

关于ios - 错误 : unable to read module map contents from 'Target Support Files in iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42945282/

相关文章:

ios - NSLinkAttribute 不可编辑时取消滚动

apple-push-notifications - 如何在 Swift 3 中将 apns 数据转换为字符串?

ios - 如何更改 Apple Watch 的 WKInterfaceImage 对象的框架或大小?

ios - user_photos 在 Swift 中访问列表

ios - 在嵌入式 View Controller 中执行函数

swift 3 转换 : value of type 'characterset' has no member 'characterIsMember'

ios - Swift 无法更改 xib uiview 中的 ImageView 框架

javascript - 在线存储 FCM 代币

ios - AsyncStorage.setItem 每次都会使 iOS 崩溃,在 Android、Expo 上完美运行

swift - 快速分割任意对象