Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FirebaseInAppMessagingDisplay - Failed to render and update auto layout #3748

Closed
uddinr opened this issue Sep 2, 2019 · 8 comments · Fixed by #3969
Closed

FirebaseInAppMessagingDisplay - Failed to render and update auto layout #3748

uddinr opened this issue Sep 2, 2019 · 8 comments · Fixed by #3969
Assignees
Labels
api: inappmessaging Firebase In App Messaging

Comments

@uddinr
Copy link

uddinr commented Sep 2, 2019

[READ] Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository
    file a Github issue.
    • If this is a feature request make sure the issue title starts with "FR:".
  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 10.3
  • Firebase SDK version: 6.7.0
  • Firebase Component: Messaging (Auth, Core, Database, Firestore, Messaging, Storage, etc)
  • Component version: 0.15.4

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

When using cocoapods to add 'Firebase/InAppMessagingDisplay' it seems when i open any storyboard files, i get the following error

Screenshot 2019-09-02 at 13 47 00

This error occurs when opening any storyboard file, after which the storyboard is unusable ie. no changes to the storyboard appear.

The only way we can workaround this error is by removing 'Firebase/InAppMessagingDisplay' from our pod file.

Relevant Code:

// TODO(you): code here to reproduce the problem
@paulb777 paulb777 added api: inappmessaging Firebase In App Messaging and removed api: messaging labels Sep 2, 2019
@paulb777
Copy link
Member

paulb777 commented Sep 2, 2019

We might need a reproducible example. I tried adding the pod to a sample app in Xcode 10.3 and was able to open the storyboard:

Screen Shot 2019-09-02 at 8 27 02 AM

@uddinr
Copy link
Author

uddinr commented Sep 2, 2019

hi, whilst attempting to create a sample app, it seems the error in question is not occurring now, not sure what if anything i did, i will close this for now, if it reoccurs i will create an example project. thanks.

@uddinr uddinr closed this as completed Sep 2, 2019
@CentrumGuy
Copy link

This is happening to me with the latest version of Xcode. I think this issue should be reopened because after installing FirebaseInAppMessaging on my project, my storyboards no longer layout and update. I get this error:
file:///.../Alerts.storyboard: error: IB Designables: Failed to render and update auto layout status for CustomNotification (Pg5-Wi-G39): dlopen(FirebaseInAppMessagingDisplay.framework, 1): no suitable image found. Did find:
FirebaseInAppMessagingDisplay.framework: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A

@rfarbod
Copy link

rfarbod commented Sep 25, 2019

why is this closed when it's STILL not fixed???
i have the exact same problem and it's giving me a headache

@uddinr
Copy link
Author

uddinr commented Sep 25, 2019

this is still happening for me, but i am unable to get this to occur in a test project, so i have disabled FirebaseInAppMessageDisplay pod in my project when working on any ui changes

@uddinr uddinr reopened this Sep 25, 2019
@uddinr
Copy link
Author

uddinr commented Sep 25, 2019

why is this closed when it's STILL not fixed???
i have the exact same problem and it's giving me a headache

can you provide an example project so it can be looked at

@CentrumGuy
Copy link

Yeah! In my project: Xcode Archive Bug, if you go to Main.storyboard you will see a UIViewController with a pink (custom @IBDesignable) view in the middle of it. If you try to move the pink view around or do anything in that storyboard, the storyboard won't update and you will get this error:

file:///Users/.../FirestoreExample/Base.lproj/Main.storyboard: error: IB Designables: Failed to render and update auto layout status for UIViewController (aST-AI-4Ns): dlopen(FirebaseInAppMessagingDisplay.framework, 1): no suitable image found. Did find:
FirebaseInAppMessagingDisplay.framework: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A

@uddinr
Copy link
Author

uddinr commented Sep 26, 2019

i can confirm the issue is present in the above example project.

@paulb777 can we please get this looked at? as i have had to disable the pod

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: inappmessaging Firebase In App Messaging
6 participants