Help: Compiling/including Unbound for iOS
Bahador Nosrat
bahador.nosrat at gmail.com
Mon Jan 13 17:30:00 UTC 2025
Hello!
Background/Caveat: I am an experienced web developer, but have very little
experience working with C and Swift/iOS.
I am trying, and failing, to compile or include Unbound into a very basic
iOS project. Are there any resources/suggestions/advice anybody can give or
point me to in order to accomplish this? I found some potentially relevant
but outdated files in `contrib/ios`.
I have tried importing the code directly into my project, but this makes
Xcode very unhappy, as it immediately complains about include statement
file paths being incorrect. I can manually change the include statements so
that Xcode can find the relevant files, but only in `.c` files, as for some
reason this won't work with `.h` files. Regardless, I think I'd still have
to figure out how to get all of Unbound's dependencies compiled for iOS and
added to the project as system headers.
I have also tried and failed to compile Unbound targeted for iOS. I do not
understand what flags I have to change to accomplish this. I tried playing
with changing the compiler to use `xcrun` and passing it the appropriate
flags, but then this breaks `make`.
Any advice would be appreciated. Thank you for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20250113/0e2def20/attachment.htm>
More information about the Unbound-users
mailing list