Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocoaHTTPServer 2.3.0 installed via cocoapods compile error #212

Open
Oleksiy-Yakovenko opened this issue Nov 8, 2021 · 0 comments
Open

Comments

@Oleksiy-Yakovenko
Copy link

Oleksiy-Yakovenko commented Nov 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant