Skip to content

Binding projects should be able to bind system frameworks #15504

@chamons

Description

@chamons

In #15485 it was found that a customer did this:

  <ItemGroup>
	<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
	<ObjcBindingCoreSource Include="StructsAndEnums.cs" />
	<NativeReference Include="/System/Library/Frameworks/ScriptingBridge.framework" Kind="Framework" />
  </ItemGroup>

while trying to work around #15489.

We should warn or error when the native reference starts with "/System/Library/Frameworks/" as nothing good can come of this.

We should make it possible to bind system frameworks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue or pull request is an enhancementgeneratorIssues affecting the generator

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions