https://github.com/frizlab/xpath
A Swifty wrapper around libxml2’s XPath parser.
https://github.com/frizlab/xpath
ios libxml2 linux macos swift tvos watchos xpath
Last synced: 3 months ago
JSON representation
A Swifty wrapper around libxml2’s XPath parser.
- Host: GitHub
- URL: https://github.com/frizlab/xpath
- Owner: Frizlab
- License: apache-2.0
- Created: 2019-04-13T18:37:57.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-02-04T16:34:29.000Z (about 2 years ago)
- Last Synced: 2024-02-04T19:25:32.320Z (about 2 years ago)
- Topics: ios, libxml2, linux, macos, swift, tvos, watchos, xpath
- Language: Swift
- Size: 27.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.txt
Awesome Lists containing this project
README
# XPath for Swift
A wrapper around libxml2’s XPath facilities.
SPM and Carthage compatible.
For SPM on macOS, because the headers for the system libraries are no longer installed in the system,
one (usually) has to launch the Swift commands with the following options:
```
-Xcc -I"`xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libxml2"
```
I did not find a way to circumvent the problem (on macOS 10.14.4 w/ Xcode 10.2, without installing
_macOS_SDK_headers_for_macOS_10.14_ which is deprecated). If you have a suggestion, feel free
to help out!