Skip to content

[iOS] Build fails with "no such module 'MediaPipeTasksVision'" - CocoaPods dependency missing #31

@coachdap

Description

@coachdap

[iOS] Build fails with "no such module 'MediaPipeTasksVision'" - CocoaPods dependency missing

Environment:

  • Package version: @thinksys/react-native-mediapipe@0.0.19
  • Expo SDK: 54
  • React Native: 0.81.5
  • Platform: iOS
  • Build environment: Both local (Xcode 26.3, CocoaPods 1.16.2) and EAS cloud

Issue:
iOS builds are failing with the error:
no such module 'MediaPipeTasksVision'

This started occurring on March 21, 2026, despite no changes to code or dependencies. The app built successfully multiple times throughout February and March 2026 with the exact same configuration.

Root Cause:
The MediaPipeTasksVision dependency appears to no longer produce a usable Swift module during build. While CocoaPods resolves the dependency, the module cannot be imported at compile time (no such module 'MediaPipeTasksVision').

This may be due to upstream changes in how MediaPipe distributes iOS binaries (e.g., XCFramework migration or removal from CocoaPods), or compatibility issues with newer Xcode versions.

$ pod search MediaPipeTasksVision
[!] Unable to find a pod with name, author, summary, or description matching `MediaPipeTasksVision`
However, the package's ThinkSysRNMediapipe.podspec declares:

ruby
s.dependency "MediaPipeTasksVision"
It appears Google removed or changed the distribution method for MediaPipeTasksVision from the CocoaPods trunk repository sometime after March 20, 2026.

Expected Behavior: The package should build successfully on iOS as it did previously.

Actual Behavior: Pod installation succeeds, but the Swift compiler cannot find the MediaPipeTasksVision module during the build phase.

Possible Solutions:

Update the package to use Google's new MediaPipe distribution method (if they changed it)
Pin to a specific MediaPipeTasksVision version that's still available
Bundle the MediaPipe framework directly with the package
Provide migration guide to an alternative pose detection solution
Additional Context: This is blocking production deployments for apps using this package. Any guidance or timeline for a fix would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions