-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
have issue with playground #13
Comments
@yaodis |
you need build first(click the run button), here is the proof actually you can also using cocoapods with playground manually, here is the error I encounter( I can import the module, but it can't find libxml) |
I've already built it. But no luck getting to where your screenshots show me. But your error message shows that the But it is specified in the podspec. Therefore try adding |
Tried, not work, I think only if I can set this for playground itself could work, but I can't and there is a similar problem http://stackoverflow.com/questions/35735193/import-kanna-in-playground, he make it work by using old version pod, weird for your issue, you can try clear module cache and derived date |
What version of Xcode, CocoaPods, and the playground tool are you using? Here's mine:
Just cannot import the module as my screenshot shows. |
I am using 0.39, for CocoaPods 1.x.x, thing become more tricky, here you can find what I mean http://stackoverflow.com/a/36047766/4730119, but in general I don't think that's the crux of the problem |
I somehow reproduced that same message by manually creating a playground. I guess this is a limitation of Xcode playgrounds, since they don't hold any build settings information themselves. And in the libxml2 headers I include in the modulemap, they include their peer headers using a include path that is not set by default in Xcode. |
I like testing framework using playground (use this tool), which works fine with most pods like Alamofire, but your framework need to include libxml2, this some kind of improving the complication and it indeed not work, can you help me inspect this problem
The text was updated successfully, but these errors were encountered: