Interface Builder can't see classes in a static library

前端 未结 4 784
甜味超标
甜味超标 2020-12-28 19:31

I have refactored some UIView sub-classes into a static library. However, when using Interface Builder to create view components for a project that uses the static library I

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 20:32

    LexH, try linking with the -ObjC flag when building your static library. That worked for me... for about a year :-) I found this post as the problem has returned with a fresh OSX install and an upgrade in xcode. But it worked in XCode 3.1.2.

    • David

提交回复
热议问题