Skip to content

Compilation search paths unable to resolve module dependency: 'file_share_intent' #1

@PhantomRay

Description

@PhantomRay

After recent upgrade to Xcode 26, hit with the following issue and unable to build project:

Swift Compiler Error (Xcode): Clang dependency scanner failure: While building module 'file_share_intent' imported from file_share_intent-9d98f491.input:1:
In file included from <module-includes>:1:
In file included from
/Users/username/Library/Developer/Xcode/DerivedData/Runner-befmtqxwifowfihjurthgcjwzdla/Build/Intermediates.noindex/ArchiveIntermediates/env_prod/BuildProductsPath/Release-env_prod-iphoneos/f
ile_share_intent/file_share_intent.framework/Headers/file_share_intent-umbrella.h:13:
/Users/username/Library/Developer/Xcode/DerivedData/Runner-befmtqxwifowfihjurthgcjwzdla/Build/Intermediates.noindex/ArchiveIntermediates/env_prod/BuildProductsPath/Release-env_prod-iphoneos/f
ile_share_intent/file_share_intent.framework/Headers/ListenSharingIntentPlugin.h:1:9: fatal error: module 'Flutter' not found
file_share_intent-9d98f491.input:1:1: fatal error: could not build module 'file_share_intent'



Swift Compiler Error (Xcode): Clang dependency scanner failure: While building module 'file_share_intent' imported from file_share_intent-05de24b4.input:1:
In file included from <module-includes>:1:
In file included from
/Users/username/Library/Developer/Xcode/DerivedData/Runner-befmtqxwifowfihjurthgcjwzdla/Build/Intermediates.noindex/ArchiveIntermediates/env_prod/BuildProductsPath/Release-env_prod-iphoneos/f
ile_share_intent/file_share_intent.framework/Headers/file_share_intent-umbrella.h:13:
/Users/username/Library/Developer/Xcode/DerivedData/Runner-befmtqxwifowfihjurthgcjwzdla/Build/Intermediates.noindex/ArchiveIntermediates/env_prod/BuildProductsPath/Release-env_prod-iphoneos/f
ile_share_intent/file_share_intent.framework/Headers/ListenSharingIntentPlugin.h:1:9: fatal error: module 'Flutter' not found
file_share_intent-05de24b4.input:1:1: fatal error: could not build module 'file_share_intent'



Swift Compiler Error (Xcode): Unable to find module dependency: 'Flutter'


Swift Compiler Error (Xcode): Compilation search paths unable to resolve module dependency: 'file_share_intent'

In case you need the solution, it can be found here. KasemJaffer#382 (comment)

Meanwhile, any fixes from plugin level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions