Skip to content

NearbyInteraction watchOS xcode14.1 b3

Manuel de la Pena edited this page Oct 13, 2022 · 3 revisions

#NearbyInteraction.framework https://github.com/xamarin/xamarin-macios/pull/16338

diff -ruN /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h
--- /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h	2022-09-07 13:39:25.000000000 -0500
+++ /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h	2022-09-23 14:03:03.000000000 -0500
@@ -93,7 +93,7 @@
  @discussion If the ARConfiguration used to run the session is not compatible with the NISession, the NISession will invalidate with error
  @discussion If the platform does not support camera assistance or an ARSession is provided without enabling cameraAssistanceEnabled property in the NIConfiguration, the NISession will invalidate with error (see NIError.h)
  */
-- (void)setARSession:(ARSession*)session NS_SWIFT_NAME(setARSession(_:)) API_AVAILABLE(ios(16.0));
+- (void)setARSession:(ARSession*)session NS_SWIFT_NAME(setARSession(_:)) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos);
 
 /**
  Compute a transform in ARKit's world coordinate system for a given nearby object.
@@ -101,7 +101,7 @@
  @return The transformation matrix in ARKit world coordinates.
  @discussion When not available returns NINearbyObjectWorldTransformNotAvailable.
  */
-- (simd_float4x4)worldTransformForObject:(NINearbyObject *)object API_AVAILABLE(ios(16.0)) NS_REFINED_FOR_SWIFT;
+- (simd_float4x4)worldTransformForObject:(NINearbyObject *)object API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos) NS_REFINED_FOR_SWIFT;
 @end
 
 /**
Clone this wiki locally