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 #1420

Closed
1 task done
devperson opened this issue Apr 30, 2024 · 3 comments
Closed
1 task done

[Bug]: Can not build at AppCenter #1420

devperson opened this issue Apr 30, 2024 · 3 comments

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.Xamarin ver 4.3.5 component to AppCenter. Select Xamarin.iOS 16.1 in the build settings

What did you expect to happen?

It should build without issues

OneSignal iOS SDK version

4.3.5

iOS version

16

Specific iOS version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nan-li
Copy link
Contributor

nan-li commented May 12, 2024

Hi @devperson, I see this post in our Xamarin SDK that looks similar to your issue: OneSignal/OneSignal-Xamarin-SDK#375.

Please take a look at how the reporter was able to resolve the issue, and if you are able to apply the same steps.

@emawby
Copy link
Contributor

emawby commented May 16, 2024

Closing the issue here. If you continue to have problems lets continue the conversation in the thread linked above!

@emawby emawby closed this as completed May 16, 2024
@devperson
Copy link
Author

devperson commented May 19, 2024 via email

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