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

Regression of Blank screen on simulator sdk #46 #76

Closed
steelzeh opened this issue Jun 29, 2023 · 8 comments
Closed

Regression of Blank screen on simulator sdk #46 #76

steelzeh opened this issue Jun 29, 2023 · 8 comments

Comments

@steelzeh
Copy link

Regression of this issue? #46

Seems that this issue is back with the latest version of IonicPortals.
Console log in xcode says: ⚡️ Loading app at capacitor://localhost but blank screen in Simulator, on local device it works fine.

@Steven0351
Copy link
Member

Steven0351 commented Jun 29, 2023

Can you please provide a minimal repro, along with the version of Portals and Capacitor that are in your project? Local environment setup will be helpful as well, such as Xcode version, target iOS version, and the simulator OS version.

@steelzeh
Copy link
Author

steelzeh commented Jul 4, 2023

portals-test.zip
Sorry for the late answer, didn't get an email or notification.
Remember to update the Token for it to run.

I am using Xcode 14.2, macOS Ventura 13.4 (M1 Pro), running on iPad Air (5th generation) simulator (iOS 16.2)

Also in the lastest version of Capacitor 5.1, there seems to be an infinite loop loading the webview and capactiorBridge, because they both are lazily loading assetHandler, which tries to load the capacitorBridge, which tries to load the assetHandler and so on and so on and so on

@Steven0351
Copy link
Member

Steven0351 commented Jul 4, 2023

Yeah you should downgrade to anything below 5.1. I patched the issue when I discovered it on Monday but a release hasn’t been cut for it yet.

@steelzeh
Copy link
Author

steelzeh commented Jul 4, 2023

Yeah, but 5.0 still doesnt work, blank white screen on simulator

@Steven0351
Copy link
Member

Steven0351 commented Jul 4, 2023

The problem is highly likely with capacitor and this issue likely belongs over there. Today is a holiday in the US so no one is actually going to be looking into this until later this week if not next week. Being able to run on device is a feasible workaround in my opinion. Have you contacted your SDK vendor about providing native arm64 simulator support?

@Steven0351
Copy link
Member

Steven0351 commented Jul 5, 2023

I ran this both with a patched Capacitor 5.1 (that fixes the lazy init) and with 5.0.5. Unable to reproduce with the project you provided. I noticed I was running Xcode 14.3.1 instead of 14.2. This issue does reproduce in Xcode 14.2, but not in 14.3.1. Try upgrading Xcode and see if you still have the same issue.

@steelzeh
Copy link
Author

steelzeh commented Jul 6, 2023

Alright i will give it a go

@Steven0351
Copy link
Member

Steven0351 commented Jul 11, 2023

Hopefully this was resolved by upgrading Xcode. If it wasn't, this would specifically be a Capacitor issue and should be raised over there. There isn't anything I can do from the Portals side to fix this issue for you.

@Steven0351 Steven0351 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants