-
Notifications
You must be signed in to change notification settings - Fork 554
[msbuild] Unify handling of Sdks. #10375
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
Conversation
Create an Sdks class in Xamarin.MacDev.Tasks.Core, which handles both Xamarin.iOS and Xamarin.Mac. Refactor the MacOSXSdks and IPhoneSdks classes to use the new Sdks class. This makes it possible to avoid some code duplication in MacOSXSdks and IPhoneSdks, and also share code elsewhere. This requires a bump of Xamarin.MacDev. New commits in xamarin/Xamarin.MacDev: * dotnet/macios-devtools@fae0237 [Xamarin.MacDev] Add GetAppleDTSettings and GetSdkSettings to the IAppleSdk interface. (dotnet#85) Diff: https://github.com/xamarin/Xamarin.MacDev/compare/f665e3a0fccce24b9dbb31650f99ef2c73ba4d46..fae0237704b792004adf592d8c9038a9d46aafff
| return TVOS; | ||
| case ApplePlatform.MacOSX: | ||
| return MacOS; | ||
| case ApplePlatform.MacCatalyst: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor/style: could be moved next to case ApplePlatform.iOS: since they share (a copy of) the same code
| case ApplePlatform.MacCatalyst: | ||
| return IOS; | ||
| default: | ||
| throw new InvalidOperationException (string.Format ("Invalid framework: {0}", framework)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a new issue but... should not this be translated like other messages ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably
❌ Device tests failed on Build ❌Device tests failed on Build. Test results2 tests failed, 39 tests passed.Failed tests
Pipeline on Agent XAMBOT-1096' |
|
Test failures are unrelated: https://github.com/xamarin/maccore/issues/2357 |
|
Build failure |
❌ Device tests failed on Build ❌Device tests failed on Build. Test results3 tests failed, 38 tests passed.Failed tests
Pipeline on Agent XAMBOT-1097' |
|
Build failure Test results1 tests failed, 89 tests passed.Failed tests
|
❌ Tests failed on Build ❌Tests failed on Build. Test results1 tests failed, 40 tests passed.Failed tests
Pipeline on Agent XAMBOT-1095 |
|
Test failures are known issues:
|
Create an Sdks class in Xamarin.MacDev.Tasks.Core, which handles both Xamarin.iOS
and Xamarin.Mac. Refactor the MacOSXSdks and IPhoneSdks classes to use the new Sdks
class.
This makes it possible to avoid some code duplication in MacOSXSdks and IPhoneSdks,
and also share code elsewhere.
This requires a bump of Xamarin.MacDev.
New commits in xamarin/Xamarin.MacDev:
Diff: https://github.com/xamarin/Xamarin.MacDev/compare/f665e3a0fccce24b9dbb31650f99ef2c73ba4d46..fae0237704b792004adf592d8c9038a9d46aafff