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

iOS not show splash screen #20171

Closed
Hardikzinzala opened this issue Jan 26, 2024 · 9 comments
Closed

iOS not show splash screen #20171

Hardikzinzala opened this issue Jan 26, 2024 · 9 comments
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed t/bug Something isn't working

Comments

@Hardikzinzala
Copy link

Description

  • I am working with .net maui 8 .
  • when i try to launch my app on iOS so that not show splash screen only show black screen.
  • But android work properly

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@Hardikzinzala Hardikzinzala added the t/bug Something isn't working label Jan 26, 2024
@jsuarezruiz jsuarezruiz added area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/iOS 🍎 labels Jan 26, 2024
@jfversluis
Copy link
Member

What version of Visual Studio are you using? What have you already tried and didn't work? Have you tried on the Simulator or also a physical device? What version of iOS? If you want us to diagnose this properly and help you we're going to need a bit more detail I'm afraid 😄

Thanks!

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Jan 26, 2024
@ghost
Copy link

ghost commented Jan 26, 2024

Hi @Hardikzinzala. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@samhouts samhouts added the potential-regression This issue described a possible regression on a currently supported version., verification pending label Jan 26, 2024
@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Jan 30, 2024
@ghost
Copy link

ghost commented Jan 30, 2024

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@Cr15Denis
Copy link

Hello, I also have the same problem with the iOS splash screen, now I am using vs code but it also gives the problem in visual studio mac. I have everything updated to .net 8, I have done clean installations but nothing.

Video_2024-01-30_201044.mp4

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author s/no-recent-activity Issue has had no recent activity labels Jan 31, 2024
@Baraiboapex
Copy link

Baraiboapex commented Mar 5, 2024

@Hardikzinzala I was having the same issue as well, and while I was following this tutorial video:

https://www.youtube.com/watch?v=xkHNbrpi3ZQ

I learned that as of iOS ~16.4 you will NOT be able to see your splash screen on an IOS simulator. Therefore, the code containing your splash screen must be codesigned first before you can view it (for some reason). If you have access to a physical device for testing, that would be your best bet to view it.

So, give that a try and when you have the chance, let us know how that worked out.

@QianaJiao
Copy link

We already have a similar issue: xamarin/xamarin-macios#18469. And below is the workaround:
You could add the following to the csproj:

<PropertyGroup>
    <EnableCodeSigning>true</EnableCodeSigning>
    <CodesignRequireProvisioningProfile>true</CodesignRequireProvisioningProfile>
    <DisableCodesignVerification>true</DisableCodesignVerification>
</PropertyGroup>

Hope it helps you.

@QianaJiao QianaJiao added the s/triaged Issue has been reviewed label Mar 6, 2024
@Cr15Denis
Copy link

@QianaJiao
Thank you for your comments, it is only in emulators that the problem is not on physical devices. I'm going to try the solution you shared with me.

@jfversluis
Copy link
Member

@Cr15Denis that sounds right because running on the Simulator by default you app is not signed. On a device it is. So this is the same thing and the proposed workaround should be sufficient for now.

@jfversluis
Copy link
Member

Duplicate of xamarin/xamarin-macios#18469

@jfversluis jfversluis marked this as a duplicate of xamarin/xamarin-macios#18469 Mar 6, 2024
@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look s/triaged Issue has been reviewed t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants