gpt4 book ai didi

ios - 如何为 iOS 7.0 构建 Mantle v2?

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:59:52 26 4
gpt4 key购买 nike

我的项目目前针对 iOS 7.1 及更高版本。我已经按照 Mantle's GitHub site 中的描述与 Carthage 一起构建了 Mantle .但是在构建我的项目时出现以下错误:

ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/Mantle.framework/Mantle) for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

有人知道如何为 iOS 7.1(最好使用 Carthage)构建 Mantle.framework 吗?

最佳答案

如果你想以 iOS 7.x 为目标,那么你不能使用框架,因为只有 iOS 8.0 及更高版本才支持框架。由于 Carthage 创建框架,您也将无法使用 Carthage。

如果您仍想使用 Mantle,请手动将其文件包含到您的项目中,或者使用 Cocoapods 使用现有的 Cocoapods spec files 之一将其构建为静态库。对于地幔。

关于ios - 如何为 iOS 7.0 构建 Mantle v2?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32632280/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com