GenerallyHelpfulSoftware / SVGgh

A framework for using SVG artwork in iOS Apps. Includes a UIView and a button class, printing and PDF export.
MIT License
142 stars 37 forks source link

Cannot run example with following error. #17

Closed allen8300 closed 8 years ago

allen8300 commented 8 years ago

Hi, I'm using Xcode 7.1, already generate the SVGgh.framework and drag to the example project. Then when I try to run, I met with following errors, I tried to solve it but didn't find the reason, so I need your help: dyld: Library not loaded: @rpath/SVGgh.framework/SVGgh Referenced from: /var/mobile/Containers/Bundle/Application/6967079B-1354-4431-948C-0F7234ABD90C/Example SVGgh.app/Example SVGgh Reason: image not found

grhowes commented 8 years ago

OK, Sorry about that, I had let the example app lay fallow for too long.

I have modified the Example app's project to make the SVGgh project a dependency of it, so there should be no more inconvenience of managing framework locations. Checked it into master branch with commit c7e7a9d7bc998a647a16813e837dd02749b60b5b.

Again sorry for my laziness about maintaining that.

allen8300 commented 8 years ago

Thanks so much man. Also, I have another question that need your guidance: Currently, we can draw a vector graphic to a vector pdf with "createPDFFromRenderer". Then, how should I do if I want to combine numbers of vector graphics and draw it to a vector pdf? (Just have a look at the attachment pdf, each heart is a vector graphics). For now, I tried to create numbers of SVGDocumentViews and add to a view, but that cannot implement what I want. I also tried to use "renderIntoContext", but failed to draw. So I need your guidance. Thanks so much. Demo.pdf

grhowes commented 8 years ago

I'm going to create a new issue to talk about your PDF needs.

It's issue#18