Open Rt-Yi opened 3 months ago
@Rt-Yi I am not able to reproduce the issue in my project, but it seems like something to do with mac catalyst. The OneSignal .Net SDK does not currently support Mac Catalyst. Is your app attempting to build for mac catalyst?
I get the same issue;
Could not find a part of the path 'H:\danny\.nuget\packages\onesignalsdk.dotnet\5.2.0\res\ios\OneSignalLiveActivities.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalLiveActivities.framework\Versions\Current\Modules\OneSignalLiveActivities.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.
Cant upgrade 5.2.0.
FYI, my MAUI is configured to only use Android + iOS (removed Catalyst & Windows stuff in .csproj as well as their folders).
I have the same error too.
@Rt-Yi @DM-98 @davidtolosa some follow up questions to help us narrow down the issue:
The issue here is two-fold.
You can hack together a build by enabling long paths and using terminal, but it's certainly not intuitive. The solution here on OneSignal's side is to either do a sort of symlink or static link against the native lib instead.
This is a Windows VS problem (doesn't support long paths), but OneSignal should still attempt to workaround it IMO.
Another alternative is to downgrade to 5.1.2
Can OneSignal do something for us in 5.2.1? It is not clear how to get 5.2.0 to work in Visual Studio.
This is the same as #108
Same problem here. Any news?
I stuck with 5.1.2 because of worries about iOS failure. Issue #108 documents a command line workaround. I turned on Long Path support on Windows 11 for a different problem and that's probably necessary for this one too. 5.2.1 is available; I haven't tried it.
Any update, I have the same problem
How can we help?
Severity Code Description Project File Line Suppression State Error Could not find a part of the path 'C:\Users\xxxxxx.nuget\packages\onesignalsdk.dotnet\5.2.0\res\ios\OneSignalLiveActivities.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalLiveActivities.framework\Versions\A\Modules\OneSignalLiveActivities.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.
Code of Conduct