Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰] No type or protocol named 'RNImagePickerSpec' #2258

Open
YaoHuiJi opened this issue Dec 26, 2023 · 6 comments
Open

[馃悰] No type or protocol named 'RNImagePickerSpec' #2258

YaoHuiJi opened this issue Dec 26, 2023 · 6 comments

Comments

@YaoHuiJi
Copy link

Description

Failed to build when enabled new arch and upgraded to 7.1.0.

鎴睆2023-12-27 00 03 31

Additional Information

  • Image Picker version: ^7.1.0
  • React Native version: 0.73.1
  • Platform: iOS
  • Development Operating System: MacOS
  • Dev tools: Xcode 15.1
@shlaikov
Copy link

@YaoHuiJi The same thing happened to me after connecting the library. Any news?

Additional Information:

System:
  OS: macOS 13.6.3
  CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Memory: 455.28 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.0
    path: ~/.nvm/versions/node/v18.18.0/bin/node
  Yarn:
    version: 1.22.19
    path: ~/.nvm/versions/node/v18.18.0/bin/yarn
  npm:
    version: 10.2.3
    path: ~/.nvm/versions/node/v18.18.0/bin/npm
  Watchman:
    version: 2023.12.04.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - watchOS 10.2
  Android SDK:
    API Levels:
      - "23"
      - "28"
      - "29"
      - "30"
      - "31"
      - "32"
      - "33"
      - "34"
    Build Tools:
      - 28.0.3
      - 29.0.2
      - 30.0.2
      - 30.0.3
      - 32.0.0
      - 32.1.0
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-30 | Google APIs Intel x86 Atom
      - android-34 | Google APIs Intel x86_64 Atom
    Android NDK: 22.1.7171670
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.1/15C65
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 20.0.2.1
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: /usr/local/opt/ruby/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.1
    wanted: 0.73.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

@YaoHuiJi
Copy link
Author

hi @shlaikov , I tried to change RNImagePickerSpec to NativeImagePickerSpec to dismiss the error, but I soon ran into a number of compilation problems with other libraries, so I finally gave up trying to use the new architecture.

@GoDeepBlue
Copy link

I am running in to the same problem .. :/

@shlaikov
Copy link

shlaikov commented Jan 1, 2024

@GoDeepBlue Welcome to the club 馃槉

Disabling the new Arch helps with the solution. I would be happy if I could fix this problem, but I have no experience in Objective-C and iOS development, it will take a lot of time to do this.

@ThibaultBee
Copy link
Contributor

I made a PR about this issue: #2252
Currently waiting for a review.

@dumbravaandrei22
Copy link

dumbravaandrei22 commented Mar 7, 2024

Hello, I have the same problem. It seems that @ThibaultBee PR solves my issue. Can you please review it and merge? 馃檹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants