iOS Binding Library - Cannot find types declared #13283
Labels
area-core-platform
Integration with platforms
external
partner/macios
Issues for the Mac / iOS SDK
partner
Issue or Request from a partner team
platform/iOS 🍎
s/needs-attention
Issue has more information and needs another look
t/bug
Something isn't working
Description
I've tried making an iOS binding library in VS for Mac.
I used Sharpie to create both definitions files, fixed what was wrong in them( NSArray -> T[] ).
The project compiles.
I reference it in MAUI app and MAUI class library with condition:
<ItemGroup Condition="$(TargetFramework.Contains('-ios')) != false "> <ProjectReference Include="..\iOSBinding1\iOSBinding1.csproj" /> </ItemGroup>
I Cannot access any type declared in the binding library, in my app/class library.
The Android Binding Library works fine under Visual Studio for Windows,
Under the reverse condition in the csproj.
Steps to Reproduce
ApiDefinition.cs
StructsAndEnums.cs
Link to public reproduction project repository
NA
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15, iOS 15.5, iOS 16.1
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: