Kevin ABRIOUX
Kevin ABRIOUX

Reputation: 17685

Missing required module 'libxml2'

I have this error

Missing required module 'libxml2'

enter image description here

On my import

enter image description here

I have the module on my linked library

enter image description here

Upvotes: 0

Views: 1854

Answers (1)

vadian
vadian

Reputation: 285039

in Build Settings add

  • Header Search Paths: $SDKROOT/usr/include/libxml2
  • Other Linker Flags : -lxml2

Adding libxml2 explicitly in Linked Frameworks and Libraries is not needed in Xcode 8.

Upvotes: 4

Related Questions