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]: Can not build at AppCenter #1700

Closed
2 of 3 tasks
devperson opened this issue Apr 30, 2024 · 1 comment
Closed
2 of 3 tasks

[Bug]: Can not build at AppCenter #1700

devperson opened this issue Apr 30, 2024 · 1 comment

Comments

@devperson
Copy link

devperson commented Apr 30, 2024

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
@devperson
Copy link
Author

Sorry incorrect place

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

1 participant