Skip to content

Error building on Xcode 7; can't libxml2 and its headers #7

@csidev

Description

@csidev

Thanks for creating updated version, I am trying to build the code on Xcode 7.3.1 and I keep getting the following two errors:

  1. In module.modulemap
    .../GlimpseXML/GlimpseXML/module.modulemap:2:10: Header '/usr/include/libxml2/libxml/xmlexports.h' not found
  2. .../GlimpseXML/GlimpseXML/GlimpseXML.swift:9:8: Could not build Objective-C module 'libxml2'

I have checked everything that I can think of.

Here is what I have tried so far:
I have tried to change SDKROOT to SDK_DIR in build-settings->search-paths->Library-search-paths
I have tried to put the full path of the headers in the module map instead of /usr/include.., it just fails in another place (cannot find libxml/xmlexports.h).
I have also tried to specify oath in build-settings->search-paths->Framework-search-paths and build-settings->search-paths->Library-search-paths.

Please let me know if there is anything that I have missed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions