After i checked all this instructions (original wsdl2objc documentation), i get this error:
'libxml/tree.h' file not found
I checked several forum entries, because i'm not alone with this problem. Sadly nothing that worked for the others worked for me. I use XCode 4.2.
Please help! Thy
This entry libxml/tree.h no such file or directory and the video http://sudzc.com/Tutorial/ObjC.mov helped me.
The solution was that i didn't have to add the libxml2.dylib in the "Linked Framework and Libraries" section, so i just deleted it, because i added it previousely.
Then in the Project -> "Build Settings" Tap i added the value "-lxml2" in the "Other Linker Flags" entry and in the "Header Search Paths" i added the value "/usr/include/libxml2".
Thats it.
For me it worked after I had added not "/usr/include/libxml2", but "${SDKROOT}/usr/include/libxml2" in Header Search Paths. Also I added "-lxml2" in "Other Linker Flags".
I had no need to set up Project's settings, just Target's. XCode 6.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With