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

Blank screen when excluding arm64 from simulator sdk #46

Closed
steelzeh opened this issue Sep 19, 2022 · 5 comments
Closed

Blank screen when excluding arm64 from simulator sdk #46

steelzeh opened this issue Sep 19, 2022 · 5 comments

Comments

@steelzeh
Copy link

if arm64 is added to Excluded Archives -> Any iOS Simulator SDK, then when trying to show any portal it just shows blank screen.

@Steven0351
Copy link
Member

Steven0351 commented Sep 19, 2022

Can you provide a minimal reproduction? I'm unable to reproduce it myself. Were you able to get the portal to render before adding arm64 to excluded architectures?

@steelzeh
Copy link
Author

steelzeh commented Sep 19, 2022

I think this only happens on M1 when testing on simulator without Rosetta.

  1. Create new project
  2. Install Portals via Pod
  3. Portals works fine
  4. Exclude arm64 from Any iOS Simulator SDK
  5. Portals not working.

On Discord Minsky mentioned that this was an issue with Capacitor, and has been fixed in 4.1.0. But seems that Portals uses 3.7.0.

portals-test.zip
Test project

@Steven0351
Copy link
Member

Sounds like the mime-type issue. Unfortunately, Portals isn't quite ready to update to 4.1+ yet and Capacitor hasn't published Cocoapods releases for those versions.

I assume the reason you're needing to exclude arm64 is because of a binary dependency that can't run on an arm64 simulator?

@steelzeh
Copy link
Author

Okay yeah makes sense.

Yes one of the libraries that we use is not working compatible for arm64, and may not be sadly.

@Steven0351
Copy link
Member

This issue should be resolved now that version 0.7.0 depends on Capacitor 4.4+

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