Skip to content
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

Build failed when using CocoaPods #241

Open
yulingtianxia opened this issue Feb 25, 2020 · 2 comments
Open

Build failed when using CocoaPods #241

yulingtianxia opened this issue Feb 25, 2020 · 2 comments

Comments

@yulingtianxia
Copy link

Build failed in yaml_private.h line 1:

#include "yaml.h" // Error:'yaml.h' file not found

This can fix it:

#include <yaml.h>
@jpsim
Copy link
Owner

jpsim commented Feb 27, 2020

Please share what steps you took to get this error for someone to be able to help you identify what may be causing the issue.

@yulingtianxia
Copy link
Author

Please share what steps you took to get this error for someone to be able to help you identify what may be causing the issue.

Hi, these are my steps:

  1. Create an iOS project with Objective-C template.
  2. Create Podfile and add Yams.
  3. Run pod install and then open generated Xcode workspace file.
  4. Build app target, it will fail on Yams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants