OneSignal/react-native-onesignal

[Bug]: Can not build at AppCenter

devperson opened this issue · 1 comments

What happened?

I use OneSignal.Xamarin 4.3.5 in my Xamarin.iOS project (I know that there is a newer version - OneSignal.DotNet but I can not migrate for now). It builds in Visual Studio and Visual Studio for Mac but fails at AppCenter. I get the following errors:

"/Users/runner/work/1/s/testProject.iOS/testProject.iOS.csproj" (Rebuild target) (1) ->
(_CompileToNative target) -> 
  MTOUCH : error MT1035: Cannot include different versions of the framework 'OneSignal.framework' [/Users/runner/work/1/s/testProject.iOS/testProject.iOS.csproj]
  MTOUCH : error MT1036: Framework 'OneSignal.framework' included from: /Users/runner/.nuget/packages/onesignalsdk.xamarin/4.3.5/res/iOS/OneSignal.xcframework/ios-arm64/OneSignal.framework (Related to previous error) [/Users/runner/work/1/s/testProject.iOS/testProject.iOS.csproj]
  MTOUCH : error MT1036: Framework 'OneSignal.framework' included from: /Users/runner/work/1/s/packages/OneSignalSDK.Xamarin.4.3.5/res/iOS/OneSignal.xcframework/ios-arm64/OneSignal.framework (Related to previous error) [/Users/runner/work/1/s/testProject.iOS/testProject.iOS.csproj]

Steps to reproduce?

Publish the Xamarin.iOS project with OneSignal component to AppCenter. Select Xamarin.iOS 16.1 in the build settings

What did you expect to happen?

It should build at AppCenter

React Native OneSignal SDK version

Release 4.3.5

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Sorry incorrect place