Failed to render instance of IB Designables

前端 未结 15 676
情深已故
情深已故 2020-12-07 12:09

I have an Objective-C and Swift mixed dynamic framework. And the mixed framework was linked with two pure Objective-C dynamic frameworks.

When I tried to mark any cl

15条回答
  •  不思量自难忘°
    2020-12-07 12:54

    I hit this error on a framework containing IBDesignables.

    I had to add $(FRAMEWORK_SEARCH_PATHS) to the LD_RUNPATH_SEARCH_PATHS setting on my framework target.

    After updating the runpath setting, building, and refreshing the view in the storyboard, the error went away. Didn't even have to clean the build folder.

提交回复
热议问题