IB Designables: Failed to update auto layout status: Failed to load designables from path (null)

Solution 1:

It is a known issue in CocoaPods. It has been fixed in version 0.36.1. Just update your CocoaPods and then add specific line of code to your pod file: use_frameworks! after platform :ios, '7.0'

So your file will look like this:

platform :ios, '7.0'

use_frameworks!

/// here will be dependencies etc. ///

updated:

Full list of steps to get rid of the problem once and for all:

  • Close project;
  • Open Terminal App;
  • Update CocoaPods itself to ver. 0.36.1 or later;
  • Navigate to your project folder in Terminal;
  • Type: pod update;
  • Open your project in xCode;
  • Clean project;
  • Build project again.

Solution 2:

After doing some research and digging, I can confirm, that there is no way to solve this problem.

This is an Xcode's bug.

That's all. We must wait for update.

Just restart the Xcode for now.

Solution 3:

This worked for me:

  1. remove derived data (preferences > locations)
  2. restart Xcode
  3. clean project (product > clean)

Solution 4:

2016 is the year, xCode 7.3.1: I got this error. (Using cocoa pods 1.0 but it does not matter)

CAUSE: a special UILabel subclass was used in IB. ring a bell?

ELEGANT SOLUTION:

1: Subclass TTTAttributedLabel or FXLabel or whatever u have. Use that in IB.

2: Add these lines in the subclassed .h file:

#ifndef IB_DESIGNABLE
#define IB_DESIGNABLE
#endif

@class LabelFromPod;


IB_DESIGNABLE @interface YourLabel : LabelFromPod {
 ...
}

3: then I think you have to clear project, exit xCode, rebuild (usual xCode panic protocol) and the problem will go away.

UPDATE 2017 xCode 8.2.1: It all getting worse :( The blank VC problem: The IB does not even load the UI elements for a view controllers that have these IB_DESIGNABLEs. I'm clueless :)