gpt4 book ai didi

objective-c - ld : library not found for -lIOKit. clang xcode

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

我使用项目的目标部分将 libIOKit.A.dylib 库包含到我的 Xcode 项目中,如下图所示。该项目已构建并运行良好,但我在编译状态下遇到一些有线错误

ld: library not found for -lIOKit.A clang: error: linker command failed with exit code 1 (use -v to see invocation)

谁能帮我解决这个问题?

enter image description here

最佳答案

为模拟器构建的私有(private)框架 IOKit 不存在,所以它不会在那里工作。此库仅适用于 iPad 或 iPhone。

关于objective-c - ld : library not found for -lIOKit. clang xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15383197/

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