AFNetworking doesn't seem to be WatchKit compatible
I have an existing iOS app that uses a framework that uses some CocoaPods. I added the WatchKit target application and then added the framework to Embedded Binaries. At this point it is still compiling and running. As soon as I import anything from the framework into the WatchKit extension, I get the error
Failed to create module 'FrameworkName'.
When I create, another error occurs inside one of the framework files:
'File AFNetworking / AFNetworking.h' was not found.
+3
source to share
2 answers
AFNetworking versions prior to v2.6 will not support WatchOS intact - see AFNetworking Requirements . Since v2.6 was released after this question was posted, this appears to be the cause of the problems you were experiencing.
+1
source to share