未找到Swift Module映射文件

问题描述 投票:0回答:1

因此,我开始将项目从可可足类转换为迦太基,然后我开始使用cryptoSwift。我已经做过一千遍了,但是这次我得到了:

    <unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
<unknown>:0: error: module map file '/Users/user/Library/Developer/Xcode/DerivedData/name-ditwjskujinmcmbfwjaeagfywgvu/Build/Products/Debug-iphonesimulator/CryptoSwift/CryptoSwift.modulemap' not found
12 errors generated.
<unknown>:0: error: failed to emit precompiled header '/Users/user/Library/Developer/Xcode/DerivedData/slappiOS-ditwjskujinmcmbfwjaeagfywgvu/Build/Intermediates.noindex/PrecompiledHeaders/the-Bridging-Header-swift_3GGM83YCQRDVU-clang_1Y97NZ8UJF7VF.pch' for bridging header '/Users/user/Documents/company/something/projectname/the-Bridging-Header.h'

关于这的更奇怪的是,我只为1个方案得到这个(我有多个),但是我所看到的它们之间没有区别。

任何人都知道这是为什么吗?

swift xcode frameworks cocoapods carthage
1个回答
0
投票

Xcode找不到链接的框架。

删除DerivedData。洒在左肩上。重新整合迦太基。仔细阅读如何将迦太基集成到您的项目中,它有一些陷阱。

© www.soinside.com 2019 - 2024. All rights reserved.