Mobile-UXSDK-iOS icon indicating copy to clipboard operation
Mobile-UXSDK-iOS copied to clipboard

IB Designables: Failed to render and update auto layout status for ViewController

Open dbaldwin opened this issue 7 years ago • 20 comments

We are seeing the following error in Xcode 9.1, but not in Xcode 9.0:

/Base.lproj/Main.storyboard: error: IB Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(DJIUILibrary.framework, 1): Library not loaded: @rpath/DJISDK.framework/DJISDK Referenced from: DJIUILibrary.framework Reason: image not found

This error prevents our view controller in the storyboard from updating. All we see are white boxes as shown in the image below:

screenshot 2017-11-10 11 03 38

This makes it very difficult to do layout since we have no preview. It's not the end of the world and we can work around it, but appears to be an imcompatibility with Xcode 9.1. We can still build and run our project.

Here is the error from the issue navigator:

screenshot 2017-11-10 11 06 45

We've been trying to find a workaround but no luck yet. Does anyone have any ideas on how to resolve this?

dbaldwin avatar Nov 10 '17 17:11 dbaldwin

getting the same issue.

ourangzeb avatar Jan 01 '18 06:01 ourangzeb

Getting the same issue here

SherbazHashmi avatar Feb 26 '18 07:02 SherbazHashmi

same issue for me also..any solutions

kavitha4yosi avatar Mar 16 '18 05:03 kavitha4yosi

Any update?

ignivashiju avatar Apr 10 '18 11:04 ignivashiju

I also getting this issue.. please share some solution.. my xcode version is 9.3

RakeshCodeNinja avatar Apr 14 '18 13:04 RakeshCodeNinja

Same issue. Any solution??

AdnanMajeed06 avatar Apr 16 '18 15:04 AdnanMajeed06

this seems like xcode 9 bug... im not using this sdk but im getting the exact same error for material components

qin-guan avatar Apr 22 '18 13:04 qin-guan

Hiii... I got the solution... Its is the problem with Cocoapod version 1.5.0 If you are using this you will get this error.

To remove your current version you could just run:

sudo gem uninstall cocoapods

you can install a specific version of cocoa pods via the following command:

sudo gem install cocoapods -v 1.4.0

Try this once... I hope this will work for u also.. Happy programming ;-)

RakeshCodeNinja avatar Apr 22 '18 13:04 RakeshCodeNinja

Amazing!

On Apr 22, 2018, at 9:14 PM, rakeshios786 [email protected] wrote:

Hiii... I got the solution... Its is the problem with Cocoapod version 1.5.0 If you are using this you will get this error.

To remove your current version you could just run:

sudo gem uninstall cocoapods

you can install a specific version of cocoa pods via the following command:

sudo gem install cocoapods -v 1.4.0

Try this once... I hope this will work for u also.. Happy programming ;-) — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Mobile-UXSDK-iOS/issues/24#issuecomment-383380822, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ1_21TqTFMOESzp30m7l6TSjci2TO4fks5trIJMgaJpZM4QZ2SJ.

qin-guan avatar Apr 22 '18 13:04 qin-guan

If It worked for you, please let me know.. and comment here so that It will be helpful for others Thanks

RakeshCodeNinja avatar Apr 22 '18 13:04 RakeshCodeNinja

oh my it does work! Thanks so much really appreciated!

qin-guan avatar Apr 22 '18 13:04 qin-guan

it would probably be a good idea to remove your podfile.lock before reinstalling

qin-guan avatar Apr 22 '18 13:04 qin-guan

oh my it does work! Thanks so much really appreciated! @rakeshios786

vuducanh179 avatar Apr 26 '18 06:04 vuducanh179

It's work for me thanks @rakeshios786

WhiteOrange avatar Apr 26 '18 13:04 WhiteOrange

Great .. Its working ..

reenaphilip avatar May 02 '18 13:05 reenaphilip

@rakeshios786 it worked thanks so much!

abiuroldan avatar May 14 '18 16:05 abiuroldan

Awesome!It works for me!!!!!! Thank you very much!!!

cyoushika avatar May 15 '18 17:05 cyoushika

Great Bro. It works.

vin7974 avatar Jun 27 '18 07:06 vin7974

Its is the problem with Cocoapod version 1.5.0 I have reinstalled this to sudo gem install cocoapods -v 1.4.0

And the issue is solved .

swapniltoo avatar Aug 05 '18 19:08 swapniltoo

@rakeshios786 it's work for me ;)

andreponce avatar Dec 03 '18 01:12 andreponce