Closed Juansero29 closed 10 months ago
As additional info, here's the .csproj of my .NET MAUI project if it can help: https://gist.github.com/Juansero29/415b695ac20020bc70d139384c05e84c
Not sure whether this helps but I was having a lot of issues iOS as well, so I started the project with the latest version of VS Preview & also updated XCode to the latest. After doing that majority of the errors disappeared.
I am encountering the same problem. Tried to look at @Juansero29 file and retry some of the configuration. Still the same. @omxie did you face the same error before upgrading to the newest version? I am a bit reluctant to go to the latest version especially preview version.
Just got it working for .NET7.0 by removing editing this in the project file: <MtouchLink>None</MtouchLink>
@eyeveye I'm using this plugin for push notifications, but when using .net7.0 there an error occurs, Framework not found System and it seems caused by something like google authentication of this package. I tried both the mtouchlink none and without it...what package version are you using?
@eyeveye I'm using this plugin for push notifications, but when using .net7.0 there an error occurs, Framework not found System and it seems caused by something like google authentication of this package. I tried both the mtouchlink none and without it...what package version are you using?
I am using 1.2.5
@TobiasBuchholz wondering if you have any insight on this problem as I can still not compile my app on iOS due to this errors?
Hey @Juansero29, unfortunately I don't have any insights on this problem sorry. Did you try the newest version of the plugin or to include just the package for the specific feature you are going to use? It would also be helpful for investigation if you were able to provide a sample project that reproduces this issue.
@TobiasBuchholz couldn't find any solution for dotnet 7 so i ended up removing this package and opting for another one: https://github.com/Gekidoku/BetterFireBaseNotificationsPlugin since I was using this one only for notifications anyway.
I haven't been able to get it to work either, or rather to comply in any way. I have also filed a ticket in the visual studio support channel but... they are still working on it.
For now I changed to this library that does work https://github.com/thomasgalliker/Plugin.FirebasePushNotifications
I have developed an app with .NET MAUI that I have been compiling only on android, now I started compiling in iOS and the build fails because of some linking issue with Plugin.Firebase, here are the four errors that the build gives:
I tried setting the "PublishTrimmed" to false for iOS, but then I get an error message saying
"iOS projects must build with PublishTrimmed=true"
Here is the full buld output with the errors that are shown to me
Any help of workaround would be very appreciated... Thanks a lot