MaddTheSane / SVGKit

A Cocoa framework for rendering SVG files as Core Animation layers
http://mattrajca.com
Other
47 stars 19 forks source link

Building Library #8

Closed lastMove closed 9 years ago

lastMove commented 9 years ago

Hello,

I am encountering the iOS 8 issue ( #235 ) So I wanted to try your fork. But I didn't reach to build the universal library. When I build it i can only find libSVGKit-iOS.1.2.0pre.a in the Debug-iphonesimulator directory which is not for the good Architecture. What am I doing Wrong? (Sorry for my bad english)

MaddTheSane commented 9 years ago

Do you have the SVGKit-iOS target selected, with iOS Device (or a name of a plugged-in device) selected?

If you are targeting iOS 8 or later, I'd recommend that you use the iOS framework (build project SVGKit-iOS Framework). However, I do realize that you may wish to target iOS versions older than 8.0, so the use of a static library is still available.

lastMove commented 9 years ago

Thank you for answering. I wish to target iOS 7 and Higher. Yes I select the good target: xcode Screenshot After building the products group (in Xcode) looks like that xcode products

lastMove commented 9 years ago

I forgot to specify that. I download the Master tree. Is it the good one? or should I use the 2.x tree?

MaddTheSane commented 9 years ago

The master tree is the right one.

One thing you could do is include the base project in your own project, then have your product depend on the static lib.

Sent from my iPhone

On Nov 25, 2014, at 2:29 AM, lastMove notifications@github.com wrote:

I forgot to specify that. I download the Master tree. Is it the good one? or should I use the 2.x tree?

— Reply to this email directly or view it on GitHub.

lastMove commented 9 years ago

Oh, I just try it on xCode 5.1.1 and it build it fine. Strange, Thank you