How to install the framework
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?
did you ever figure this out @breiko83
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.
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
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.