-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Closed
Copy link
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolfound in release: 3.22Found to occur in 3.22Found to occur in 3.22has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to reproduce
- Create a flutter app
- Add a dependency for video_player_avfoundation 2.6.0
flutter config --enable-swift-package-managerflutter build ios
Actual results
Will error with
xcodebuild: error: Could not resolve package dependencies:
public headers ("include") directory path for 'video_player_avfoundation_ios' is invalid or not contained in the target
Logs
For example, this path should contain an include/.gitkeep directory
ls /path/to/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.6.0/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios
Flutter Doctor output
Doctor output
<!-- Paste your output here -->
Metadata
Metadata
Assignees
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolfound in release: 3.22Found to occur in 3.22Found to occur in 3.22has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.