Skip to content

Simulator: No matching framework found inside xxx xcframework, but device runs fine #23022

Open
@jingliancui

Description

@jingliancui

Apple platform

iOS

Framework version

net9.0-*

Affected platform version

Version: 1.100.3 (Universal) Commit: 258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3 Date: 2025-06-02T13:30:54.273Z Electron: 34.5.1 ElectronBuildId: 11369351 Chromium: 132.0.6834.210 Node.js: 20.19.0 V8: 13.2.152.41-electron.0 OS: Darwin arm64 24.5.0

Description

Simulator: No matching framework found inside xxx xcframework
Device: runs fine

Steps to Reproduce

  1. build a binding project with xcframework
  2. maui app reference the binding project
  3. select simulator
  4. debug the maui app

Actual:
show the error as the description

Did you find any workaround?

no

Build logs

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.4/18.4.9291/tools/msbuild/Xamarin.Shared.targets(153,3): error : No matching framework found inside '/Users/ericcui/Desktop/GitHubWorkspace/XamarinIOSBindingLibrary/GDTSDK/4.15.40/TquicBinding/bin/Debug/net9.0-ios/TquicBinding.resources/Tquic.xcframework'. SupportedPlatform: '/Users/ericcui/Desktop/GitHubWorkspace/XamarinIOSBindingLibrary/GDTSDK/4.15.40/TquicBinding/bin/Debug/net9.0-ios/TquicBinding.resources/Tquic.xcframework', SupportedPlatformVariant: 'ios', SupportedArchitectures: 'simulator'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    binding-projectsIssue or PR that affects binding projectsenhancementThe issue or pull request is an enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions