Xcode 9.4致命错误:lipo:无法打开输入文件(没有这样的文件或目录)

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

我开发了一个框架,它工作正常,直到Xcode 9,但最近我将我的Xcode更新到版本9.4,现在当我存档/运行项目时,它生成.framework文件,但是出错。

这里附有错误

enter image description here

致命错误:lipo:无法打开输入文件:/Users/swift-developer/Library/Developer/Xcode/DerivedData/ShuftiPro-erwkmqdpkoprcngduyssdgzuhqfw/Build/Intermediates.noindex/ArchiveIntermediates/UniversalShuftiPro/BuildProductsPath/Release-iphonesimulator/ShuftiPro.framework / ShuftiPro(没有这样的文件或目录)

Command / bin / sh发出错误但未返回非零退出代码以指示失败

这是附加的框架build settings

当我将编译后的框架导入其他项目时,它说:

“无法为'ShuftiPro'加载底层模块”

我已经花了很多时间来解决这个问题,并且在这里遵循了许多解决方案但没有成功。

enter image description here

ios swift xcode sdk frameworks
2个回答
0
投票

您需要确保该文件与否。好像文件没有退出或存在权限错误。


0
投票

在构建设置选项卡中将Build Active Architecture设置为YES,然后它将起作用

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