I am an old-school c / C ++ programmer, new to the Xcode IDE, tasked with creating an iOS app that can receive data from an IPv4 multicast address. Since Swift 3 does not have an API for attaching to a multicast address or binding to a port, I need to insert Objective-C code into Swift code.
I found several ways to do this using an asynchronous UDP socket, but when I refer to CocoaAsyncSocket.h (or GCDAsyncUdpSocket.h), I get the error message "CocoaAsyncSocket Module" was not found. Indeed, if I do a file search, I go dry.
I do not see that Objective-C or its libraries can be downloaded from Apple, and they did not appear when Xcode 8.3.2 was loaded, and I can not find the open source version. Can someone point out some pointers? Thank!
source
share