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

[Bug]: Cannot install OneSignalSDK.DotNet Maui #65

Closed
1 task done
gabsamples6 opened this issue Sep 16, 2023 · 4 comments
Closed
1 task done

[Bug]: Cannot install OneSignalSDK.DotNet Maui #65

gabsamples6 opened this issue Sep 16, 2023 · 4 comments

Comments

@gabsamples6
Copy link

gabsamples6 commented Sep 16, 2023

What happened?

We are upgrading from Xamarin to Maui and installing the OneSignalSDK.DotNet causes an error

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\anyUser.nuget\packages\onesignalsdk.dotnet\5.0.0\res\ios\OneSignalFramework.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalFramework.framework\Versions\A\Modules\OneSignalFramework.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.

Steps to reproduce?

Create A maui app .net 7 or 8 (windows pc)
Go to nuget packages and install OneSignalSDK.DotNet
See
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\anyUser\.nuget\packages\onesignalsdk.dotnet\5.0.0\res\ios\OneSignalFramework.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalFramework.framework\Versions\A\Modules\OneSignalFramework.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.

What did you expect to happen?

I expected to install the nuget successfully

Does OneSignal support Maui?

many thanks

Relevant log output

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\anyUser\.nuget\packages\onesignalsdk.dotnet\5.0.0\res\ios\OneSignalFramework.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalFramework.framework\Versions\A\Modules\OneSignalFramework.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@gabsamples6
Copy link
Author

gabsamples6 commented Sep 18, 2023

@brismithers Could you please advise. We really need to use this feature and we are blocked?

@TedMobile
Copy link

I get the same error when installing on a blank maui app .net 7 or 8

@gabsamples6
Copy link
Author

I close this issue because this is todo with xamarin.ios not handling long path

@nkdiep24
Copy link

@gabsamples6 can i know how to solve it? i'm using latest version also can't install via nuget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants