为什么我的 Reachability.h 文件出现错误?

发布于 2024-12-19 08:37:43 字数 183 浏览 7 评论 0原文

为什么 XCode 中的 Reachability.h 文件出现以下错误?请参阅下面的附件:

http://file.reddexuk.com/2h2K152b2b2c270I2Z2M

Why am I getting the following errors from my Reachability.h file in XCode? See the attachment below:

http://file.reddexuk.com/2h2K152b2b2c270I2Z2M

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

茶色山野 2024-12-26 08:37:43

我认为您忘记了 ASIHTTPRequest 的一些依赖项。
请添加以下框架

  • CFNetwork.framework
  • SystemConfiguration.framework
  • MobileCoreServices.framework
  • CoreGraphics.framework
  • libz.dylib

即使我个人会继续使用 AFNetworking,因为 Ben 不再支持 ASIHTTPRequest 及其已停产的类。

谢伊。

I think you forgot some depenencies for ASIHTTPRequest.
Please add the following frameworks

  • CFNetwork.framework
  • SystemConfiguration.framework
  • MobileCoreServices.framework
  • CoreGraphics.framework
  • libz.dylib

Even though i would personally move on to AFNetworking, as Ben is no longer supporting ASIHTTPRequest and its a discontinued class.

Shai.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文