YAML.framework icon indicating copy to clipboard operation
YAML.framework copied to clipboard

How to install the framework

Open breiko83 opened this issue 11 years ago • 4 comments

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?

breiko83 avatar Mar 03 '14 08:03 breiko83

did you ever figure this out @breiko83

jimbojsb avatar Mar 17 '16 02:03 jimbojsb

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.

breiko83 avatar Mar 17 '16 09:03 breiko83

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

jimbojsb avatar Mar 17 '16 13:03 jimbojsb

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.

neuralmer avatar Mar 21 '16 19:03 neuralmer