Skip to content

'RNCImageCropPickerSpec/RNCImageCropPickerSpec.h' file not found #2234

@RushikeshFIS

Description

@RushikeshFIS

Hi,

I am using react-native-image-crop-picker version 51.1 with new architecture enabled.

Following is output for my react-native info

Details

System:
OS: macOS 26.2
CPU: (8) arm64 Apple M2
Memory: 324.05 MB / 24.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.0.0
path: /Users/e5660664/.nvm/versions/node/v22.0.0/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.4
path: /Users/e5660664/Projects/tt_pkg_upgrade_mobile_banking_ui/node_modules/.bin/npm
Watchman:
version: 2025.09.15.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/e5660664/.gem/3.4.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.0
- iOS 26.0
- macOS 26.0
- tvOS 26.0
- visionOS 26.0
- watchOS 26.0
Android SDK:
API Levels:
- "28"
- "33"
- "34"
- "35"
- "36"
Build Tools:
- 30.0.3
- 34.0.0
- 35.0.0
- 36.1.0
System Images:
- android-35 | Google Play ARM 64 v8a
- android-36.1 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2025.2 AI-252.28238.7.2523.14688667
Xcode:
version: 26.0.1/17A400
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.16
path: /usr/bin/javac
Ruby:
version: 3.4.6
path: /opt/homebrew/opt/ruby@3.4/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.1.0
wanted: 20.1.0
react:
installed: 19.2.3
wanted: 19.2.3
react-native:
installed: 0.84.0
wanted: 0.84.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true

Attaching sample of my Podfile as well for reference.

source 'https://github.com/CocoaPods/Specs.git'
require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip
 
platform :ios, min_ios_version_supported
prepare_react_native_project!

target 'sample_app' do

  config = use_native_modules!

  use_react_native!(
    :hermes_enabled => true,
    :new_arch_enabled => true,
    :fabric_enabled => true,
    :path => config[:reactNativePath],
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  pod 'RNImageCropPicker', :podspec => '../node_modules/react-native-image-crop-picker/RNImageCropPicker.podspec'

end

post_install do |installer|
  config = use_native_modules!
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false,
      # :ccache_enabled => true
    )
end

I am getting following error while building iOS application.

'RNCImageCropPickerSpec/RNCImageCropPickerSpec.h' file not found

Can you help me with this?

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