Skip to content

Conversation

@rolfbjarne
Copy link
Member

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

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
@rolfbjarne rolfbjarne requested a review from emaf as a code owner January 11, 2021 13:48
@rolfbjarne rolfbjarne added the not-notes-worthy Ignore for release notes label Jan 11, 2021
return TVOS;
case ApplePlatform.MacOSX:
return MacOS;
case ApplePlatform.MacCatalyst:
Copy link
Contributor

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));
Copy link
Contributor

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 ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Device tests failed on Build ❌

Device tests failed on Build.

Test results

2 tests failed, 39 tests passed.

Failed tests

  • [xUnit] Mono Mac OS X BCL tests group 4/Mac Modern/Debug: Failed (No test log file was produced)
  • MTouch tests/NUnit: Failed (Execution failed with exit code 7)

Pipeline on Agent XAMBOT-1096'

@mandel-macaque
Copy link
Contributor

Test failures are unrelated: https://github.com/xamarin/maccore/issues/2357

@monojenkins
Copy link
Collaborator

Build failure
Provisioning succeeded
Build succeeded
API Diff (from stable)
🔥 Failed to compare API and create generator diff 🔥
    ** Error: Working directory isn't clean:
    HEAD detached at a2e8b32
    Untracked files:
    (use "git add ..." to include in what will be committed)
    tools/dotnet-linker/packages/
    
    nothing added to commit but untracked files present (use "git add" to track)
    Search for Comparing API & creating generator diff in the log to view the complete log.
Test run succeeded

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Device tests failed on Build ❌

Device tests failed on Build.

Test results

3 tests failed, 38 tests passed.

Failed tests

  • [xUnit] Mono Mac OS X BCL tests group 4/Mac Modern/Debug: Failed (No test log file was produced)
  • MSBuild tests/Tasks: Failed (Execution failed with exit code 13)
  • MTouch tests/NUnit: Failed (Execution failed with exit code 7)

Pipeline on Agent XAMBOT-1097'

@monojenkins
Copy link
Collaborator

Build failure
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

1 tests failed, 89 tests passed.

Failed tests

  • MSBuild tests/Tasks: Failed (Execution failed with exit code 13)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Tests failed on Build ❌

Tests failed on Build.

Test results

1 tests failed, 40 tests passed.

Failed tests

  • MTouch tests/NUnit: Failed (Execution failed with exit code 7)

Pipeline on Agent XAMBOT-1095

@rolfbjarne
Copy link
Member Author

Test failures are known issues:

@rolfbjarne rolfbjarne merged commit a54f948 into dotnet:main Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-notes-worthy Ignore for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants