Skip to content

Commit

Permalink
[ModelIO] Add Xcode 13 beta4 support. (#12349)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque authored Aug 5, 2021
1 parent 9aef167 commit 41253c3
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 26 deletions.
8 changes: 6 additions & 2 deletions src/ModelIO/MIEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ public enum MDLVertexFormat : ulong {
public enum MDLMeshBufferType : ulong
{
Vertex = 1,
Index = 2
Index = 2,
[iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)]
Custom = 3,
}

[Native]
Expand Down Expand Up @@ -177,7 +179,9 @@ public enum MDLMaterialPropertyType : ulong {
Float2,
Float3,
Float4,
Matrix44
Matrix44,
[iOS (15,0), TV (15,0), Mac (12,0), MacCatalyst (15,0)]
Buffer,
}

[Native]
Expand Down
5 changes: 5 additions & 0 deletions src/mobilecoreservices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,11 @@ interface UTType {
[Field ("kUTTypeUniversalSceneDescription", "ModelIO")]
NSString UniversalSceneDescription { get; }

[NoWatch]
[iOS (15,0), Mac(12,0), TV (15,0), MacCatalyst (15,0)]
[Field ("kUTTypeUniversalSceneDescriptionMobile", "ModelIO")]
NSString UniversalSceneDescriptionMobile { get; }

[Watch (2,2)]
[iOS (9,1)][TV (9,0)]
[NoMac]
Expand Down
8 changes: 8 additions & 0 deletions src/modelio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,20 @@ NVector3 UpAxis {
[Export ("objectAtIndex:")]
MDLObject GetObject (nuint index);

[Deprecated (PlatformName.iOS, 15, 0, message: "Use the 'Originals' property instead.")]
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use the 'Originals' property instead.")]
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the 'Originals' property instead.")]
[Deprecated (PlatformName.MacCatalyst, 15, 0, message: "Use the 'Originals' property instead.")]
[iOS (10,0)]
[Mac (10,12)]
[TV (10,0)]
[Export ("masters", ArgumentSemantic.Retain)]
IMDLObjectContainerComponent Masters { get; set; }

[iOS (15,0), Mac (12,0), TV (15,0), MacCatalyst (15,0)]
[Export ("originals", ArgumentSemantic.Retain)]
IMDLObjectContainerComponent Originals { get; set; }

[TV (11,0), Mac (10,13), iOS (11,0)]
[Export ("animations", ArgumentSemantic.Retain)]
IMDLObjectContainerComponent Animations { get; set; }
Expand Down
5 changes: 0 additions & 5 deletions tests/xtro-sharpie/MacCatalyst-ModelIO.todo

This file was deleted.

7 changes: 0 additions & 7 deletions tests/xtro-sharpie/iOS-ModelIO.todo

This file was deleted.

5 changes: 0 additions & 5 deletions tests/xtro-sharpie/macOS-ModelIO.todo

This file was deleted.

7 changes: 0 additions & 7 deletions tests/xtro-sharpie/tvOS-ModelIO.todo

This file was deleted.

5 comments on commit 41253c3

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

Packages generated

View packages

Test results

2 tests failed, 223 tests passed.

Failed tests

  • Documentation/All: Failed
  • DotNet tests: Failed (Execution failed with exit code 1)

Pipeline on Agent XAMBOT-1025.BigSur'
[ModelIO] Add Xcode 13 beta4 support. (#12349)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

⚠️ Tests were not ran (VSTS: device tests tvOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[ModelIO] Add Xcode 13 beta4 support. (#12349)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

⚠️ Tests were not ran (VSTS: device tests iOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[ModelIO] Add Xcode 13 beta4 support. (#12349)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ Tests failed on macOS M1 - Mac Big Sur (11.5) ❌

Tests failed on M1 - Mac Big Sur (11.5).

Failed tests are:

  • xammac_tests

Pipeline on Agent
[ModelIO] Add Xcode 13 beta4 support. (#12349)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

✅ Tests passed on macOS Mac Mojave (10.14) ✅

Tests passed

All tests on macOS X Mac Mojave (10.14) passed.

Pipeline on Agent
[ModelIO] Add Xcode 13 beta4 support. (#12349)

Please sign in to comment.