glaszig / SZTextView

A drop-in UITextView replacement which gives you: a placeholder.
MIT License
682 stars 102 forks source link

Usage with Interface Builder #37

Closed mhaseebkhan closed 8 years ago

mhaseebkhan commented 9 years ago

I am using SZTextView with CocoaPods in one of the projects I am working on. I added the SZTextView via InterfaceBuilder in a XIB.

When I build the app, I am getting the following warnings with a red exclamation mark. My XCode Version is 6.3(6D570).

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

Please suggest.

glaszig commented 9 years ago

can you reproduce this behavior reliably?

sarbogast commented 9 years ago

I'm having the exact same issue right now.

dwag3 commented 9 years ago

I'm also having this issue but build and run still succeed.

glaszig commented 9 years ago

please check if the issue can be resolved as in #35.

Ricardo1980 commented 9 years ago

Hello! When using the use_framework! flag, I receive "embedded dylibs/frameworks only run on iOS 8 or later". It seems iOS8 is required for that feature. But I'd like my project work under iOS7. Does anyone have any suggestion? Thanks in advance.

glaszig commented 9 years ago

@Ricardo1980 can you build & run w/o use_framework!? the IBDesignable issue seems to be an Xcode bug. but if you can build anyway you should not be bothered by the warning. (i know, i know, this not a solution for the long run)

Ricardo1980 commented 9 years ago

@glaszig Now it's working, not sure about the reason...

dexcell commented 8 years ago

I'm having the same issue, and it's looks like can be fixed by adding use_frameworks! on pod file

Ricardo1980 commented 8 years ago

Yes. I can build the app.

Enviado desde mi iPhone.

El 19/05/2015, a las 20:06, glaszig notifications@github.com escribió:

@Ricardo1980 can you build & run w/o use_framework!? the IBDesignable issue seems to be an Xcode bug. but if you can build anyway you should not be bothered by the warning. (i know, i know, this not a solution for the long run)

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

codwam commented 8 years ago

It's actually a problem in OS X 10.10, xcode6.4 ..... And use_framework! is not support for iOS 7...