gpt4 book ai didi

ios - RestKit 和 AFNetworking 构建错误

转载 作者:技术小花猫 更新时间:2023-10-29 11:10:37 31 4
gpt4 key购买 nike

当我尝试将 RestKit api 导入项目时,出现以下错误:

  /Documents/Code/RestTest/RestKit/Code/Network/RKHTTPRequestOperation.h:21:9:
'AFNetworking.h' file not found

我已经将 RestKit 安装为 git 子模块,如何解决 RestKit 对 AFNetworking 的依赖?

最佳答案

克隆后,只需在 RestKit 目录中执行:

git submodule update --init --recursive

这将拉取 RestKit 需要的 AFNetworking 版本

关于ios - RestKit 和 AFNetworking 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13754547/

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