Skip to content

Commit

Permalink
[CoreFoundation] Add deprecation and ignores for Xcode 14 Beta 1-5 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chamons authored Aug 31, 2022
1 parent 532ad02 commit 58fedd1
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 19 deletions.
10 changes: 8 additions & 2 deletions src/CoreFoundation/CFStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,10 @@ public static void CreatePairWithSocketToHost (string host, int port,
[SupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos10.11")]
[UnsupportedOSPlatform ("ios9.0")]
#if MONOMAC
[UnsupportedOSPlatform ("tvos9.0")]
#if TVOS
[Obsolete ("Starting with tvos9.0.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#elif MONOMAC
[Obsolete ("Starting with macos10.11.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#elif IOS
[Obsolete ("Starting with ios9.0.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
Expand Down Expand Up @@ -510,7 +513,10 @@ public static CFHTTPStream CreateForHTTPRequest (CFHTTPMessage request)
[SupportedOSPlatform ("tvos")]
[UnsupportedOSPlatform ("macos10.11")]
[UnsupportedOSPlatform ("ios9.0")]
#if MONOMAC
[UnsupportedOSPlatform ("tvos9.0")]
#if TVOS
[Obsolete ("Starting with tvos9.0.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#elif MONOMAC
[Obsolete ("Starting with macos10.11.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
#elif IOS
[Obsolete ("Starting with ios9.0.", DiagnosticId = "BI1234", UrlFormat = "https://github.com/xamarin/xamarin-macios/wiki/Obsolete")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
!missing-field! kCFURLVolumeAvailableCapacityForImportantUsageKey not bound
!missing-field! kCFURLVolumeAvailableCapacityForOpportunisticUsageKey not bound


## variable argument and string manipulation more easily done in C#
!missing-pinvoke! CFStringCreateStringWithValidatedFormat is not bound
!missing-pinvoke! CFStringCreateStringWithValidatedFormatAndArguments is not bound

## unsorted

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions tests/xtro-sharpie/common-CoreFoundation.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
!missing-field! kCFURLVolumeAvailableCapacityForImportantUsageKey not bound
!missing-field! kCFURLVolumeAvailableCapacityForOpportunisticUsageKey not bound

## variable argument and string manipulation more easily done in C#
!missing-pinvoke! CFStringCreateStringWithValidatedFormat is not bound
!missing-pinvoke! CFStringCreateStringWithValidatedFormatAndArguments is not bound


## unsorted
Expand Down
2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-CoreFoundation.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/macOS-CoreFoundation.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/tvOS-CoreFoundation.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/watchOS-CoreFoundation.todo

This file was deleted.

5 comments on commit 58fedd1

@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.

🔥 Failed to compare API and create generator diff 🔥

Error: 'make' failed for the hash 532ad02.

Pipeline on Agent
Hash: 58fedd1b038e276fe6133ef3bff42f7ab5a45dc4 [CI build]

@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 on macOS Mac Catalina (10.15) passed 💻

All tests on macOS Mac Catalina (10.15) passed.

Pipeline on Agent
Hash: 58fedd1b038e276fe6133ef3bff42f7ab5a45dc4 [CI build]

@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 on macOS M1 - Mac Big Sur (11.5) failed ❌

Failed tests are:

  • monotouch-test

Pipeline on Agent
Hash: 58fedd1b038e276fe6133ef3bff42f7ab5a45dc4 [CI build]

@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] Artifacts 📚

Artifacts were not provided.

Pipeline on Agent XAMMINI-063.Monterey'
Hash: 58fedd1b038e276fe6133ef3bff42f7ab5a45dc4 [CI build]

@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] Test results 🔥

Test results

❌ Tests failed on VSTS: simulator tests

0 tests crashed, 1 tests failed, 227 tests passed.

Failures

❌ introspection tests

1 tests failed, 12 tests passed.
  • introspection/watchOS 32-bits - simulator/Debug (watchOS 6.0): Crashed Known issue: HE0038)

Html Report (VSDrops) Download

Successes

✅ bcl: All 69 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests: All 1 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 7 tests passed. Html Report (VSDrops) Download
✅ framework: All 8 tests passed. Html Report (VSDrops) Download
✅ generator: All 2 tests passed. Html Report (VSDrops) Download
✅ interdependent_binding_projects: All 7 tests passed. Html Report (VSDrops) Download
✅ install_source: All 1 tests passed. Html Report (VSDrops) Download
✅ linker: All 65 tests passed. Html Report (VSDrops) Download
✅ mac_binding_project: All 1 tests passed. Html Report (VSDrops) Download
✅ mmp: All 2 tests passed. Html Report (VSDrops) Download
✅ mononative: All 12 tests passed. Html Report (VSDrops) Download
✅ monotouch: All 23 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ mtouch: All 1 tests passed. Html Report (VSDrops) Download
✅ xammac: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 8 tests passed. Html Report (VSDrops) Download
✅ xtro: All 2 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: [CI build]

Please sign in to comment.