Closed ajsagar92 closed 3 years ago
It looks like you have a PCH or something that if you include in a C file will barf. Just disable it for these files, or use a macro to only include Objective-C headers in your PCH if you're dealing with an m or mm file. Closing as it's not really related to the project.
I am integrating iperf in framework I am developing in objective c for iOS and macOS. After copying source files of iperf3.0 (c files), I am getting error on iOS/macOS system files like NSObject, AppKit.h etc. I am not sure what I am missing. But iperf files showing error for arm64 like in screenshot attached.
Universal Framework Minimum Target: iOS: 11.0 macOS: 10.11
Shared code for iOS and macOS framework developed mainly in Objective C