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

DTBonjourServer.h not found #1

Closed
seeker12 opened this issue Feb 6, 2013 · 2 comments
Closed

DTBonjourServer.h not found #1

seeker12 opened this issue Feb 6, 2013 · 2 comments

Comments

@seeker12
Copy link

seeker12 commented Feb 6, 2013

I apologize in advance - I'm new to git submodules in Xcode. I'm trying to get the BonjourChat example to work. The tutorial, here: http://www.cocoanetics.com/2012/11/and-bonjour-to-you-too/, briefly describes adding DTFoundation as a git submodule, then describes the development of the BonjourChat project with no further mention of DTFoundation or how to use the DTBonjour library.

I tried adding DTBonjour as a submodule, setting up the library dependencies as described, which did produce the libDTBonjour.a products, but the BonjourChat build for iPhone simulator (6.1) fails with "DTBonjourServer.h not found", imported in BonjourChatServer.h.

I've tried setting the BonjourChat Build settings User Header Search Paths to point to the DTBonjour subproject source files, but unsuccessfully.

I expect I'm making a very silly n00b mistake. Thanks for making all your Cocoanetics work available!

@odrobnik
Copy link
Collaborator

odrobnik commented Feb 8, 2013

The problem was probably related to your search paths. I updated everything and now it builds and runs fine.

@seeker12
Copy link
Author

seeker12 commented Feb 8, 2013

Exactly right. Thanks for the reply. It was a search path issue. When I pulled the submodule I misspelled DTFoundation as DTFoundatation. Took a while to discover. Thanks again for sharing your work. Well done!

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

2 participants