【发布时间】:2015-12-23 04:05:09
【问题描述】:
我在当前升级到 iOS 6 的项目中使用了最出色的 AFNetworking 库。我正在升级中,减少编译时收到的一堆警告iOS 6 SDK。
AFNetworking 在所有目标中都给了我两个警告:
SystemConfiguration framework not found in project, or not included in
precompiled header. Network reachability functionality will not be available.
和
MobileCoreServices framework not found in project, or not included in
precompiled header. Automatic MIME type detection when uploading files
in multipart requests will not be available.
事情是这样的:这两个libraries 被添加到我所有的targets 中。我想以正确的方式摆脱这些警告;我不会修改AFNetworking 文件。我怀疑这是 Xcode 很傻。诚然,这是一件小事,但留下警告是不好的做法。
如何删除这些警告?
我已尝试重新启动 Xcode 并进行清理。两者都不起作用。
【问题讨论】:
标签: xcode afnetworking