Skip to content

CocoaHTTPServer 2.3.0 installed via cocoapods compile error #212

@Oleksiy-Yakovenko

Description

@Oleksiy-Yakovenko

Repro:

  1. Create a new mac application TestProject in objective c
  2. 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
  1. Open the generated TestProject.xcworkspace
  2. Add #import <CocoaHTTPServer/HTTPServer.h> to any objc file, such as AppDelegate.m
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions