Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kewlbear/394980573ea9dd38e2d5ed96671442b1 to your computer and use it in GitHub Desktop.
Save kewlbear/394980573ea9dd38e2d5ed96671442b1 to your computer and use it in GitHub Desktop.
Fix swift playground unable to find headers used by cocoa pods
In project navigator, navigate to workspace > Pods > Pods > {Pod name here} > Support files > {Pod name here}.xcconfig.
Copy relevant path from HEADER_SEARCH_PATHS and paste at the end of SWIFT_INCLUDE_PATHS.
For Kanna, copy and paste libxml2 include path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment