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 will no longer build on windows when using Xamarin.Firebase.iOS.CloudMessaging #15170

Closed
jadenrogers opened this issue May 18, 2023 · 5 comments
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working

Comments

@jadenrogers
Copy link
Contributor

Description

Unable to build for ios targets from Windows Visual Studio 17.6

when using the following packages

		<PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging" Version="8.10.0.3" />
		<PackageReference Include="Xamarin.Firebase.iOS.Installations" Version="8.10.0.3" />

Remove them and it will work fine.

1>Target _CopyLocalBindingResources:
1> C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7060\targets\Xamarin.Shared.Sdk.targets(2019,3): error : MessagingRemoteException: An error occurred on client Build1647060 while executing a reply for topic xvs/build/16.4.7060/execute-task/FirebaseErrorSample/0a1e8f7002fGetFileSystemEntries

Steps to Reproduce

Run sample from windows using visual studio 2022 17.6 connected to a Mac Agent.

Solution will error.

Remove the following packages

		<PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging" Version="8.10.0.3" />
		<PackageReference Include="Xamarin.Firebase.iOS.Installations" Version="8.10.0.3" />

Solution will run.

No issue running the same project directly on mac.

Link to public reproduction project repository

https://github.com/jadenrogers/FirebaseErrorSample

Version with bug

7.0.86

Last version that worked well

7.0.49

Affected platforms

iOS

Affected platform versions

iOS 16

Did you find any workaround?

Current work around is to use VS For Mac.

Relevant log output

Target _CopyLocalBindingResources:
1>  C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7060\targets\Xamarin.Shared.Sdk.targets(2019,3): error : MessagingRemoteException: An error occurred on client Build1647060 while executing a reply for topic xvs/build/16.4.7060/execute-task/FirebaseErrorSample/0a1e8f7002fGetFileSystemEntries
1>  C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7060\targets\Xamarin.Shared.Sdk.targets(2019,3): error : DirectoryNotFoundException: Could not find a part of the path '/Users/drkevl/Library/Caches/Xamarin/mtbs/builds/FirebaseErrorSample/0a1e8f7fdf7c6b6897adab9e13565febdb579b8d471685aa8bc47b9367615275/C:/Users/drkevl/.nuget/packages/xamarin.firebase.ios.cloudmessaging/8.10.0.3/lib/net6.0-ios15.4/Firebase.CloudMessaging.resources'.
1>  C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7060\targets\Xamarin.Shared.Sdk.targets(2019,3): error :
1>Done building target "_CopyLocalBindingResources" in project "FirebaseErrorSample.csproj" -- FAILED.



On mac files exist up to 

'/Users/drkevl/Library/Caches/Xamarin/mtbs/builds/FirebaseErrorSample/0a1e8f7fdf7c6b6897adab9e13565febdb579b8d471685aa8bc47b9367615275/C:/Users/drkevl/'

Looking for

'/Users/drkevl/Library/Caches/Xamarin/mtbs/builds/FirebaseErrorSample/0a1e8f7fdf7c6b6897adab9e13565febdb579b8d471685aa8bc47b9367615275/C:/Users/drkevl/.nuget/packages/xamarin.firebase.ios.cloudmessaging/8.10.0.3/lib/net6.0-ios15.4/Firebase.CloudMessaging.resources'
@jadenrogers jadenrogers added the t/bug Something isn't working label May 18, 2023
@scriptBoris
Copy link

I can confirm this issue. In using library @JimmyPun610 barcode scanner based on Google Machine Learning

@scriptBoris
Copy link

#15042 linked issue

@drasticactions drasticactions added the s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue label May 21, 2023
@ghost
Copy link

ghost commented May 21, 2023

Thanks for the issue report @jadenrogers! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

@jadenrogers
Copy link
Contributor Author

@brunck
Copy link
Contributor

brunck commented May 23, 2023

See dotnet/macios#18308

@ghost ghost locked as resolved and limited conversation to collaborators Jun 22, 2023
@samhouts samhouts added area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/iOS 🍎 partner/macios Issues for the Mac / iOS SDK labels Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants