Create a new mac application TestProject in objective c
Add a Podfile with the following, then run pod install:
def macos_version; '10.14' end
platform :osx, macos_version
use_frameworks!
inhibit_all_warnings!
workspace 'TestProject.xcworkspace'
target 'TestProject' do
project 'TestProject.xcodeproj'
pod 'CocoaHTTPServer', '2.3.0'
end
3. Open the generated `TestProject.xcworkspace`
4. Add `#import <CocoaHTTPServer/HTTPServer.h>` to any objc file, such as AppDelegate.m
5. Observe it fails to build because of import order or something similar in the generated `CocoaHTTPServer-umbrella.h`
CocoaHTTPServer 2.2.1 works just fine though.
Repro:
pod install
:workspace 'TestProject.xcworkspace'
target 'TestProject' do project 'TestProject.xcodeproj' pod 'CocoaHTTPServer', '2.3.0' end