I am a newbie to AFNetworking and running a simple application to understand how AFNetworking is working. I am following this tutorial on MobileTuts: http://mobile.tutsplus.com/tutorials/iphone/ios-sdk_afnetworking/. I am able to get the app running with the information but I have these two warnings.
The two warnings are:
2.#warning "CoreServices 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."
I have already included the SystemConfiguration and CoreServices framework but these warnings still exist...
In "YOURPROJECTNAME-Prefix.pch" file include this code
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>
In my case I am beginning to use swift in an obj-c project, and I had to add the two following headers to my <project_name>-Bridging-Header.h
file:
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With