Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

referring to an installed pod within Prefix.pch

Tags:

ios

cocoapods

pch

Finally taking on pods. Everything seems to work, for example, dropped in Parse, install pod'd, see it in a view controller.m file just fine.

BUT.. now i want to drop Parse into the pch as i use it so often. My pre-pods line was:

#import "Parse/Parse.h"

I tried this, and

#import <Parse/Parse.h>

and

#import <Parse.h>

.. and every variant i can think of, no luck. I can of course drop imports where required, but this is more convenient, despite the suggestions not to use this route.

What i find most confusing is that the UI pre-fills in the path for me for second option, so it finds it, but on build, it fails with

'Parse/Parse.h' file not found.

Thanks for suggesting a working syntax.

like image 260
drew.. Avatar asked Jan 23 '26 07:01

drew..


1 Answers

This may not be the perfect answer, as there are so my cocoapods fans using the repo that this is likely due to my newness to it, but i had to manually create an entry into User Header Search Paths which was "Pods" and set it recursive.

Then all was good.

like image 62
drew.. Avatar answered Jan 25 '26 22:01

drew..



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!