I am developing a custom structure that includes some XML parsing using Kanna . Whenever I try to import my framework into a playground, the playground crashes with the following error:
Playground execution failed: expression failed to parse, unknown error
* thread
* frame
frame
frame
frame
frame
frame
frame
...
The framework I'm developing works fine (it builds, and unit tests work as expected), but it's a pain not to use it on the playground.
I gave an example project with instructions for replicating the problem, as well as a full stack trace on GitHub: https://github.com/noahcgreen/XMLTest . If it import Kannais removed from the source XMLTest.swift file, the error disappears.
So far I have tried:
- using fuzi instead of kanna ,
- installation with CocoaPods instead of Carthage,
- updating libxml2 on my device (using Homebrew) and
- starting from another (and new) device with a clean Xcode installation,
all is unsuccessful. I am here. What am I doing wrong?
source
share