Skip to content

Commit

Permalink
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed Jul 29, 2021
1 parent 448cc6e commit 6dfdcf8
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 35 deletions.
26 changes: 26 additions & 0 deletions src/corelocation.cs
Expand Up @@ -134,6 +134,10 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue {
[Export ("initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:")]
IntPtr Constructor (CLLocationCoordinate2D coordinate, double altitude, double hAccuracy, double vAccuracy, double course, double courseAccuracy, double speed, double speedAccuracy, NSDate timestamp);

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[Export ("initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo:")]
IntPtr Constructor (CLLocationCoordinate2D coordinate, double altitude, double horizontalAccuracy, double verticalAccuracy, double course, double courseAccuracy, double speed, double speedAccuracy, NSDate timestamp, CLLocationSourceInformation sourceInfo);

// Apple keep changing the 'introduction' of this field (5.0->8.0->5.0) but it was not available in 6.1
// nor in 7.0 - but it works on my iPad3 running iOS 7.1
[NoTV][NoWatch]
Expand Down Expand Up @@ -168,6 +172,14 @@ partial interface CLLocation : NSSecureCoding, NSCopying, CKRecordValue {
[iOS (8,0)]
[NullAllowed, Export ("floor", ArgumentSemantic.Copy)]
CLFloor Floor { get; }

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[Export ("ellipsoidalAltitude")]
double EllipsoidalAltitude { get; }

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[NullAllowed, Export ("sourceInformation")]
CLLocationSourceInformation SourceInformation { get; }
}

[Mac (10,15)]
Expand Down Expand Up @@ -905,4 +917,18 @@ interface CLLocationPushServiceExtension
void ServiceExtensionWillTerminate ();
}

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof(NSObject))]
interface CLLocationSourceInformation : NSCopying, NSSecureCoding
{
[Export ("initWithSoftwareSimulationState:andExternalAccessoryState:")]
IntPtr Constructor (bool isSoftware, bool isAccessory);

[Export ("isSimulatedBySoftware")]
bool IsSimulatedBySoftware { get; }

[Export ("isProducedByAccessory")]
bool IsProducedByAccessory { get; }
}

}
7 changes: 0 additions & 7 deletions tests/xtro-sharpie/MacCatalyst-CoreLocation.todo

This file was deleted.

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

This file was deleted.

7 changes: 0 additions & 7 deletions tests/xtro-sharpie/macOS-CoreLocation.todo

This file was deleted.

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

This file was deleted.

7 changes: 0 additions & 7 deletions tests/xtro-sharpie/watchOS-CoreLocation.todo

This file was deleted.

6 comments on commit 6dfdcf8

@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

4 tests failed, 220 tests passed.

Failed tests

  • monotouch-test/Mac [dotnet]/Debug [dotnet]: Failed (Test run failed.
    Tests run: 2460 Passed: 2402 Inconclusive: 13 Failed: 1 Ignored: 57)
  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2629 Passed: 2490 Inconclusive: 35 Failed: 1 Ignored: 138)
  • monotouch-test/iOS Unified 32-bits - simulator/Debug: Failed
  • Documentation/All: Failed

Pipeline on Agent XAMBOT-1038.BigSur'
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)

@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
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)

@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
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)

@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
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)

@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
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)

@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 High Sierra (10.13) ✅

Tests passed

All tests on macOS X Mac High Sierra (10.13) passed.

Pipeline on Agent
[CoreLocation] Add support for Xcode 13 beta 4. (#12298)

Please sign in to comment.