OneSignal / OneSignal-Xamarin-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
105 stars 50 forks source link

[iOS][4.1.0] Unable to compile / OneSignalTrackFirebaseAnalytics.h not found #319

Closed twelve-cgn closed 2 years ago

twelve-cgn commented 2 years ago

Description:

When trying to migrate from 3.x to 4.1.0 i'm unable to compile iOS. I get the following errors (see StackTrace)

Environment

XForms 5.0.0.2478 OneSignalSDK.Xamarin 4.1.0 (NuGet)

Anything else:

4> C:\Users\xxx.nuget\packages\onesignalsdk.xamarin\4.1.0\build\Xamarin.iOS\OneSignalSDK.Xamarin.targets(6,9): error MSB3027: "C:\Users\xxx.nuget\packages\onesignalsdk.xamarin\4.1.0\build\Xamarin.iOS....\content\OneSignalSDK.Xamarin.iOS.resources\OneSignalCore.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalCore.framework\Versions\A\Headers\OneSignalTrackFirebaseAnalytics.h" konnte nicht in "C:\Workspaces\xxx\BusPro.NET-Connect\BusProNet.App\BusProNet.App.iOS\bin\iPhoneSimulator\Debug\/OneSignalSDK.Xamarin.iOS.resources/OneSignalCore.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalCore.framework\Versions\A\Headers\OneSignalTrackFirebaseAnalytics.h" kopiert werden. Die zulässige Anzahl von Wiederholungen von 10 wurde überschritten. Fehler. 4> C:\Users\xxx.nuget\packages\onesignalsdk.xamarin\4.1.0\build\Xamarin.iOS\OneSignalSDK.Xamarin.targets(6,9): error MSB3021: Die Datei "C:\Users\xxx.nuget\packages\onesignalsdk.xamarin\4.1.0\build\Xamarin.iOS....\content\OneSignalSDK.Xamarin.iOS.resources\OneSignalCore.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalCore.framework\Versions\A\Headers\OneSignalTrackFirebaseAnalytics.h" kann nicht in "C:\Workspaces\xxx\BusPro.NET-Connect\BusProNet.App\BusProNet.App.iOS\bin\iPhoneSimulator\Debug\/OneSignalSDK.Xamarin.iOS.resources/OneSignalCore.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalCore.framework\Versions\A\Headers\OneSignalTrackFirebaseAnalytics.h" kopiert werden. Ein Teil des Pfades "C:\Workspaces\xxx\BusPro.NET-Connect\BusProNet.App\BusProNet.App.iOS\bin\iPhoneSimulator\Debug\/OneSignalSDK.Xamarin.iOS.resources/OneSignalCore.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalCore.framework\Versions\A\Headers\OneSignalTrackFirebaseAnalytics.h" konnte nicht gefunden werden.

jkasten2 commented 2 years ago

@twelve-cgn Thanks for reporting, this issue is path length issue with building iOS on Windows. We are fixing in an upcoming update, we will let you know the exact version when it releases.