NSInternalInconsistencyException, reason: Could not load NIB in bundle

后端 未结 8 2119
轻奢々
轻奢々 2020-12-03 08:55

I\'ve gone through a bunch of answers regarding this problem but none seem to relate to my problem.

I have two views, View 1 has a button. View 2 has a button.

8条回答
  •  忘掉有多难
    2020-12-03 09:08

    I tried all above answer but they didn't work. For me, the solution was to include the xib to the target resource.

    Steps performed:

    • Click on xib file.
    • Open Identity Inspector -> Target Membership and check second option (ProjectName_Resource)

提交回复
热议问题