2016-11-26 48 views
0

我剛剛更新了我的pod pod repo update。更新後,我回到Xcode構建我的項目。我很奇怪的Xcode未能建立我與錯誤的項目如下圖所示:XCode 8.1 - 「pod repo更新」後無法讀取模塊映射內容

error: unable to read module map contents from 'Target Support Files/KeychainSwift/KeychainSwift.modulemap': Error Domain=NSCocoaErrorDomain Code=260 "The file 「KeychainSwift.modulemap」 couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/MyPath/MyPrj/Pods/Target Support Files/KeychainSwift/KeychainSwift.modulemap, NSUnderlyingError=0x7f9f8530d330 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} 
error: unable to read module map contents from 'Target Support Files/KeychainSwift/KeychainSwift.modulemap': Error Domain=NSCocoaErrorDomain Code=260 "The file 「KeychainSwift.modulemap」 couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/MyPath/MyPrj/Pods/Target Support Files/KeychainSwift/KeychainSwift.modulemap, NSUnderlyingError=0x7f9f847248e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} 

(和許多我的其他吊艙...)

我做了清潔和重建,但這些並不能幫助。

我不知道發生了什麼事。我怎樣才能解決這個問題?

非常感謝。

回答

-1

您可以運行命令行,並嘗試在.xcworkspace文件所在的文件夾中運行pod update