-5
In file included from /Users/project/API.m:9:
In file included from /Users/project/API.h:9:
/Users/project/../AFNetworking/AFHTTPClient.h:88:10: warning: 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. [-W#warnings]
#warning 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.
  • 非常感谢任何帮助。
4

2 回答 2

1

单击左侧窗格中的项目名称 -> 在右侧选择摘要 -> 单击“+”按钮 -> 添加“MobileCoresServices.Framework”

保存

打扫

运行

于 2013-08-28T04:35:29.337 回答
0

第 1 步 - 按照上面的答案链接 MobileCoreServices 框架。你已经做到了,根据你的截图

第 2 步 - 在 PCH(预编译头文件)文件中包含以下行。此文件应称为 PROJECTNAME-Prefix.PCH

 #import <MobileCoreServices/UTCoreTypes.h>
 #import <MobileCoreServices/MobileCoreServices.h>

那你应该好好去!

于 2013-09-04T04:43:27.200 回答