-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] "Could not find a part of the path" Firebase CloudMessaging #23829
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Assuming you're using VS for Windows, this is the "max path" error. Enabling long paths in Windows won't help; VS ignores that setting.
In short, this is not a MAUI problem, and not even a .NET for iOS problem (specifically). It's a Visual Studio on Windows problem. |
@brunck Thank you. I'll try that. But where can I find nuget.config file? |
You create it yourself. Search the documentation; it’ll have more information. |
I don't think this is the MaxPath issue. From the logs I can tell you are using Hot Restart and as part of the limitations you cannot use xcframework resources. If you want to use this, you will have to deploy through Mac hardware. Closing this here as there is nothing we can do about this currently. |
Description
Hello.
I have a problem that I've been strugling with.
I want to test Firebase notifications for my iOS project so I've created a new one to test it on.
I've added Xamarin.Firebase.iOS.Core and Xamarin.Firebase.iOS.CloudMessaging as well as GoogleService-Info.plist and Entitlements.plist.
I've edited the AppDelegate.cs accordingly. When I try to build it, it builds with no issues but when I try to deploy the app to my local device I get a deploy error.
The log from Xamarin\Logs\17.0 is listed in "Relevant log output" but the error is:
"An error occurred while trying to create the .ipa file for TestIOS2. Details: Could not find a part of the path 'C:\Users\FantasyCZE\AppData\Local\Temp\Xamarin\HotRestart\Signing\TestIOS2.app\out\Payload\TestIOS2.app\TestIOS2.content\Firebase.CloudMessaging.resources\FirebaseMessaging.xcframework\ios-arm64\FirebaseMessaging.framework\Headers\FIRMessagingExtensionHelper.h'."
If you need anything that will help you, let me know.
I'm new in .NET MAUI.
Thank you!
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: