xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.49k stars 515 forks source link

Missing bindings - NearbyInteraction #19866

Closed narciszait closed 10 months ago

narciszait commented 10 months ago

I just updated Visual Studio for Mac and Xamarin.iOS and in the project i am working on, we are using the NearbyInteractions framework. What seems to have been working before, now it does not. Visual Studio cannot find properties that were there.

Looking at the developer.apple.com website for https://developer.apple.com/documentation/nearbyinteraction/nisession and comparing that with the Assembly browser from Visual Studio - there are things missing?

https://developer.apple.com/documentation/nearbyinteraction/ninearbyobject -> horizontalAngle I seem to not find it in Assembly Browser

Expected Behavior

The bindings are there

Actual Behavior

Bindings are not there

Environment

Version information ``` === Visual Studio Community 2019 for Mac === Version 8.10.25 (build 2) Installation UUID: 39861cc7-5d9c-4a3f-906d-f074c6fad286 GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638) Package version: 612000182 === Mono Framework MDK === Runtime: Mono 6.12.0.182 (2020-02/6051b710727) (64-bit) Package version: 612000182 === Roslyn (Language Service) === 3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb === NuGet === Version: 5.9.0.7134 === .NET SDK (x64) === SDK: /usr/local/share/dotnet/sdk/6.0.111/Sdks SDK Versions: 7.0.311 7.0.310 7.0.308 7.0.307 7.0.306 7.0.304 7.0.302 7.0.203 7.0.202 7.0.201 7.0.200 7.0.101 7.0.100 6.0.417 6.0.416 6.0.414 6.0.413 6.0.412 6.0.410 6.0.408 6.0.407 6.0.406 6.0.404 6.0.403 6.0.402 6.0.401 6.0.400 6.0.302 6.0.301 6.0.300 6.0.111 6.0.106 5.0.408 5.0.407 5.0.406 5.0.405 5.0.404 5.0.403 5.0.402 5.0.401 5.0.400 5.0.302 5.0.301 5.0.203 5.0.202 5.0.103 5.0.101 5.0.100 3.1.426 3.1.425 3.1.424 3.1.423 3.1.422 3.1.421 3.1.420 3.1.419 3.1.418 3.1.417 3.1.416 3.1.415 3.1.414 3.1.413 3.1.412 3.1.411 3.1.410 3.1.409 3.1.408 3.1.406 3.1.404 3.1.403 3.1.402 3.1.401 3.1.302 2.1.202 MSBuild SDKs: /Applications/Visual Studio (2019).app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 7.0.14 7.0.13 7.0.11 7.0.10 7.0.9 7.0.7 7.0.5 7.0.4 7.0.3 7.0.1 7.0.0 6.0.25 6.0.24 6.0.22 6.0.21 6.0.20 6.0.18 6.0.16 6.0.15 6.0.14 6.0.12 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 5.0.17 5.0.16 5.0.15 5.0.14 5.0.13 5.0.12 5.0.11 5.0.10 5.0.9 5.0.8 5.0.7 5.0.6 5.0.5 5.0.3 5.0.1 5.0.0 3.1.32 3.1.31 3.1.30 3.1.29 3.1.28 3.1.27 3.1.26 3.1.25 3.1.24 3.1.23 3.1.22 3.1.21 3.1.20 3.1.19 3.1.18 3.1.17 3.1.16 3.1.15 3.1.14 3.1.12 3.1.10 3.1.9 3.1.8 3.1.7 3.1.6 2.1.23 2.1.22 2.1.21 2.1.20 2.0.9 === .NET Core 3.1 SDK === SDK: 3.1.426 === .NET 5.0 SDK === SDK: 5.0.408 === Xamarin.Profiler === Version: 1.8.0.22 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Updater === Version: 11 === Xamarin Designer === Version: 16.11.0.60 Hash: 56f9b80b0 Branch: remotes/origin/d16-11 Build date: 2021-12-15 01:44:16 UTC === Apple Developer Tools === Xcode 15.0 (22265) Build 15A240d === Xamarin.Mac === Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version. === Xamarin.iOS === Version: 15.10.0.5 (Visual Studio Community) Hash: 96b3edb6d Branch: d17-2 Build date: 2022-05-18 07:32:07-0400 === Xamarin.Android === Version: 12.2.8.3 (Visual Studio Community) Commit: xamarin-android/d17-1/fafdba7 Android SDK: /Users/lanz/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 7.0 (API level 24) 8.1 (API level 27) SDK Tools Version: 26.1.1 SDK Platform Tools Version: 34.0.5 SDK Build Tools Version: 33.0.2 Build Information: Mono: dffa5ab Java.Interop: xamarin/java.interop/d17-1@7ac33610 ProGuard: Guardsquare/proguard/v7.0.1@912d149 SQLite: xamarin/sqlite/3.37.1@0893b3b Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-1@db125a7 === Eclipse Temurin JDK === Java SDK: Not Found === Android SDK Manager === Version: 16.10.0.13 Hash: 1b81df5 Branch: remotes/origin/d16-10 Build date: 2021-11-12 00:17:32 UTC === Android Device Manager === Version: 16.10.0.15 Hash: 89dcc0b Branch: remotes/origin/d16-10 Build date: 2021-11-12 00:17:52 UTC === Build Information === Release ID: 810250002 Git revision: 0620af530b5800e0eada4882ce1c3d4dad7e53d3 Build date: 2022-06-15 13:41:26-04 Build branch: release-8.10 === Operating System === Mac OS X 14.2.1 Darwin 23.2.0 Darwin Kernel Version 23.2.0 Wed Nov 15 21:54:10 PST 2023 root:xnu-10002.61.3~2/RELEASE_X86_64 x86_64 ```

If this is a silly mistake from my side, please let me know

narciszait commented 10 months ago

It was a silly and rookie mistake from my side - closing this issue I opened and then updated Visual Studio for Mac 2019 by mistake