dji-sdk / Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Other
72 stars 40 forks source link

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

Open dbaldwin opened 7 years ago

dbaldwin commented 7 years ago

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?

ourangzeb commented 6 years ago

getting the same issue.

SherbazHashmi commented 6 years ago

Getting the same issue here

kavitha4yosi commented 6 years ago

same issue for me also..any solutions

ignivashiju commented 6 years ago

Any update?

RakeshCodeNinja commented 6 years ago

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

AdnanMajeed06 commented 6 years ago

Same issue. Any solution??

qin-guan commented 6 years ago

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

RakeshCodeNinja commented 6 years ago

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 ;-)

qin-guan commented 6 years ago

Amazing!

On Apr 22, 2018, at 9:14 PM, rakeshios786 notifications@github.com 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.

RakeshCodeNinja commented 6 years ago

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

qin-guan commented 6 years ago

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

qin-guan commented 6 years ago

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

vuducanh179 commented 6 years ago

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

WhiteOrange commented 6 years ago

It's work for me thanks @rakeshios786

reenaphilip commented 6 years ago

Great .. Its working ..

abiuroldan commented 6 years ago

@rakeshios786 it worked thanks so much!

cyoushika commented 6 years ago

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

vin7974 commented 6 years ago

Great Bro. It works.

swapniltoo commented 6 years ago

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 .

andreponce commented 5 years ago

@rakeshios786 it's work for me ;)