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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed!. Error while running on ios #685

Closed
developerasmita1998 opened this issue Oct 11, 2023 · 1 comment
Closed

Build Failed!. Error while running on ios #685

developerasmita1998 opened this issue Oct 11, 2023 · 1 comment

Comments

@developerasmita1998
Copy link

developerasmita1998 commented Oct 11, 2023

Bug report

Summary

Added react-native-document-picker with new vesion but build is failing with new versions.

Reproducible sample code

"react": "18.2.0",
"react-native": "0.72.5",
"react-native-document-picker": "^9.0.1",

Steps to reproduce

  1. Add library in Project
  2. Run with xcode after pod install.

Describe what you expected to happen:

  1. Build failed
  2. Given some errors

Environment info

npx react-native info output:

System:
  OS: macOS 14.0
  CPU: (8) arm64 Apple M1
  Memory: 118.25 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.7.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.1.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2023.09.25.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.13.0
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10811636
  Xcode:
    version: 15.0/15A240d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.16
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.5
    wanted: 0.72.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false
Terminal

library version:

 "react": "18.2.0",
    "react-native": "0.72.5",
    "react-native-document-picker": "^9.0.1",

iOS / Android version:

xcode : Version 15.0 (15A240d)
IOS: 17.0

Error:

Undefined symbol: _UTTypeCopyPreferredTagWithClass
Undefined symbol: _UTTypeCreatePreferredIdentifierForTag
Undefined symbol: _kUTTagClassFilenameExtension
Undefined symbol: _kUTTagClassMIMEType
Linker command failed with exit code 1 (use -v to see invocation)
1
@github-actions
Copy link

👋 @developerasmita1998, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue.
The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug.
Please create a new issue with this and we'll be happy to review it!

@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants