Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

I'm seeing this error for a XIB. But everything else compiles and there doesn't seem to be any harm done by this error. Is this something I need to worry about? What's the problem here and how would I go about fixing this?

enter image description here

UPDATE: I've updated cocoapods to the latest version (0.36.3) and while that fixed the problem for a few compiles, the error has returned and I'm now seeing an additional error:

enter image description here

like image 333
Oren Avatar asked Jan 28 '15 23:01

Oren


3 Answers

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.
like image 163
Andrei Konstantinov Avatar answered Nov 11 '22 07:11

Andrei Konstantinov


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.

like image 33
Bartłomiej Semańczyk Avatar answered Nov 11 '22 07:11

Bartłomiej Semańczyk


This worked for me:

  1. remove derived data (preferences > locations)
  2. restart Xcode
  3. clean project (product > clean)
like image 17
Wojtek Dmyszewicz Avatar answered Nov 11 '22 05:11

Wojtek Dmyszewicz