jmenter / JAMSVGImage

Display resolution independent SVGs in iOS.
MIT License
372 stars 48 forks source link

I come from china #12

Closed weihaigang closed 9 years ago

weihaigang commented 9 years ago

I operate in the inside of the Xib when the compiler can perform wrong but I would like to ask how to solve the two error.

error: IB Designables: Failed to update auto layout status: Failed to load designables from path (null) error: IB Designables: Failed to render instance of JAMSVGButton: Failed to load designables from path (null)

jmenter commented 9 years ago

Hi, did you install this using Cocoapods? What version of Xcode are you using?

weihaigang commented 9 years ago

I installed cocoapods? I used the Xcode version 6.1.1

weihaigang commented 9 years ago

I have installed the cocoapods I used the Xcode version is 6.1.1

jmenter commented 9 years ago

If you've pulled this in through cocoapods, the IBInspectable and IBDesignable components won't work without a huge amount of hackery.

What you should do is this: drag the class files directly into your project and have your project link to the "lib.dylib" library. You should then be able to see your SVGs in the interface builder portion of Xcode.

Let me know if that works and I'll close this issue.