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

How to install the framework #18

Open
breiko83 opened this issue Mar 3, 2014 · 4 comments
Open

How to install the framework #18

breiko83 opened this issue Mar 3, 2014 · 4 comments

Comments

@breiko83
Copy link

breiko83 commented Mar 3, 2014

Hello, I need the YAML Framework in my iOS project. Can you help me?
I have tried to drag the .framework folder but headers are missing. Which are the steps to follow?

@jimbojsb
Copy link

did you ever figure this out @breiko83

@breiko83
Copy link
Author

I think I did but this is so old that I don't remember. Have you got the same issue? Otherwise I should close this.

@jimbojsb
Copy link

Yeah exact same problem. Tried To install with cocoa pods but that failed as well.

Sent from my iPhone

On Mar 17, 2016, at 4:12 AM, Carlo Schiesaro [email protected] wrote:

I think I did but this is so old that I don't remember. Have you got the same issue? Otherwise I should close this.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

@neuralmer
Copy link

I had some trouble installing as well, but I added something like the following to may Podfile:

target 'some-build-target' do`
  pod 'YAML-Framework'
end

... and refreshed the pods.

Added an include to my sources:
#import <YAML-Framework/YAMLSerialization.h>

At that point, Xcode couldn't find the header, and it appears that something is either wrong with my project (likely), or maybe something with the configurations for the YAML-Framework that is preventing the header search path from including Pods/Headers/Private or Pods/Headers/Public. I can see the header is there under YAML-Framework, but looking at the build log, I could see this path wasn't included. As a short-term fix, I added to the paths listed in HEADER_SEARCH_PATHS: ${PODS_ROOT}/Headers/Private

This added the correct -I argument on the CompileC command-line. I see PODS_ROOT being defined in Pods.debug.xcconfig and similar, so I am guessing this has to be included in the configuration for the target.

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

3 participants