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

MAUI iOS doesn't work on EFCore 7 #9550

Closed
RobertoGFilho opened this issue Aug 19, 2022 · 3 comments
Closed

MAUI iOS doesn't work on EFCore 7 #9550

RobertoGFilho opened this issue Aug 19, 2022 · 3 comments
Labels
platform/iOS 🍎 t/bug Something isn't working

Comments

@RobertoGFilho
Copy link

Description

EfCore 7 crash on iOS MAUI app. Please you can reproduce this erro on this demo : https://github.com/RobertoGFilho/EFCore

Windows ok
Android ok
iOS crash
image

Visual studio 17.3.1
Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.0-preview.7.22376.2"

2022_08_19_09_02_50.mp4

Steps to Reproduce

EfCore 7 crash on iOS MAUI app. Please you can reproduce this erro on this demo : https://github.com/RobertoGFilho/EFCore

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15

Did you find any workaround?

No response

Relevant log output

No response

@RobertoGFilho RobertoGFilho added the t/bug Something isn't working label Aug 19, 2022
@RobertoGFilho RobertoGFilho changed the title MAUI iOS doesn't work on EFCore 7 , but windows and android works MAUI iOS doesn't work on EFCore 7 Aug 21, 2022
@RobertoGFilho
Copy link
Author

hi folks!
the trouble is string properties on Model! see:

WORKS:

public class Person : ObservableObject
{
[Key]
public Guid Id { get; set; }
public int Age { get; set; }
//public string Name { get; set; }
}

DOESN'T WORK

public class Person : ObservableObject
{
[Key]
public Guid Id { get; set; }
public int Age { get; set; }
public string Name { get; set; }
}

@RobertoGFilho
Copy link
Author

Hi @jsuarezruiz

I have envolved EFCore team see : dotnet/efcore#28773 on this issue! Maybe you can share your opinion, about this

@jfversluis
Copy link
Member

Looks like this is an issue in iOS and moved here: xamarin/xamarin-macios#16228

Please track it there for the latest info.

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants