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

Pod does not build 'POP.h' file not found with <angled> includes; use "quotes" instead #15

Open
slcott opened this issue Dec 19, 2015 · 12 comments

Comments

@slcott
Copy link

slcott commented Dec 19, 2015

Are you including POP as a sub pod? Either way, it won't build for me using cocoapods and xcode 7.

I get this error:
Pod does not build 'POP.h' file not found with <angled> includes; use "quotes" instead

@matthewcheok
Copy link
Owner

It works for me. Did you run pod install?

@slcott
Copy link
Author

slcott commented Dec 19, 2015

Yes. The pod is installed.

My system has the pop pod installed for other targets in my workspace. Maybe that's why the compiler complains about all occurrences of #import <POP.h>. Perhaps it wants instead this: #import <pop/POP.h>.

Maybe my Podfile is incorrect. It looks like this:

target 'Carousel' do
    platform :ios, '9.0'
    pod 'RegExCategories'
    pod 'pop'
    pod 'POP+MCAnimate', '~> 2.0'
    link_with 'Carousel'
end

@matthewcheok
Copy link
Owner

POP+MCAnimate includes pop for you. You can omit that dependency.

@matthewcheok
Copy link
Owner

If you need to include pop directly, maybe just include the source files directly to avoid problems.

@slcott
Copy link
Author

slcott commented Dec 19, 2015

Ok. well I wish you hadn't closed this issue immediately because I changed my podfile and have the same error. Please be patient.

target 'Carousel' do
    platform :ios, '9.0'
    pod 'RegExCategories'
#    pod 'pop'
    pod 'POP+MCAnimate', '~> 2.0'
    link_with 'Carousel'
end

I get the same error.

@matthewcheok matthewcheok reopened this Dec 19, 2015
@matthewcheok
Copy link
Owner

The configuration in the demo project works for me. It might be something specific to your cocoapods configuration.

@slcott
Copy link
Author

slcott commented Dec 19, 2015

Found it. My Podfile has use_frameworks!. I included that like in the McAnimate demo project and that recreated the same issue I was having.

From the CocoaPods docs

Another difference is their file system representation: Frameworks are bundles, which basically means that they are directories, which have the file suffix .framework and Finder treats them mostly like regular files

So I guess that's why the compiler couldn't find the path for the imports. McAnimate currently supports static libraries but not dynamic frameworks? Can you add support for it? Maybe this is not the issue but other pods don't seem to cause issues with the use_frameworks! option.

@matthewcheok
Copy link
Owner

Might take me a while to get to this but feel free to submit a PR for this fix if you get to it sooner.

@noomz
Copy link

noomz commented Dec 30, 2016

I doubt why we just don't change it to <pop/POP.h>

@GrayLand119
Copy link

I got the same error when i use 'use_frameworks!' in my Podfile.

@pquimby
Copy link

pquimby commented Mar 16, 2017

I also observe this error with use_frameworks! in my Podfile.

@mxcl
Copy link

mxcl commented Apr 8, 2017

Took me five minutes to fix #19, the fact this is still open after 5 months gives me very little confidence in this project.

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

6 participants