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

npx pod-install iOS is not working #49

Open
2 of 8 tasks
j0na1han opened this issue Mar 16, 2024 · 3 comments
Open
2 of 8 tasks

npx pod-install iOS is not working #49

j0na1han opened this issue Mar 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@j0na1han
Copy link

j0na1han commented Mar 16, 2024

What happened?

After running npx pod-install iOS is get the following error if I run npm run ios -- --simulator="iPhone 15"
The following build commands failed:
Ld /Users/jonathanzimmermann/Library/Developer/Xcode/DerivedData/smartConversion-exitpdgrxydjmqdktlbqhqqgoujd/Build/Products/Debug-iphonesimulator/smartConversion.app/smartConversion normal (in target 'smartConversion' from project 'smartConversion')
(1 failure)

Do you have an idea what is the reason for that error?

Version

@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version

I'm using the version 1.5.1

Which ML Kit packages do you use?

  • @react-native-ml-kit/barcode-scanning
  • @react-native-ml-kit/face-detection
  • @react-native-ml-kit/identify-languages
  • @react-native-ml-kit/image-labeling
  • @react-native-ml-kit/text-recognition
  • @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

  • Android
  • iOS

System Information

System:
OS: macOS 14.3.1
CPU: (10) arm64 Apple M1 Pro
Memory: 3.65 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 21.7.1
path: ~/.nvm/versions/node/v21.7.1/bin/node
Yarn: Not Found
npm:
version: 10.5.0
path: ~/.nvm/versions/node/v21.7.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.15.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2023.2 AI-232.10227.8.2321.11479570
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.8.1
path: /opt/homebrew/opt/openjdk@17/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.73.6
wanted: 0.73.6
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

Steps to Reproduce

Run:
npm install @react-native-ml-kit/text-recognition
npx pod-install iOS
npm run ios -- --simulator="iPhone 15" --> here the error occurs.

@j0na1han j0na1han added the bug Something isn't working label Mar 16, 2024
@anurbecirovic
Copy link

Same here

@a7medev
Copy link
Owner

a7medev commented Jul 14, 2024

Hello @j0na1han and @anurbecirovic!

Sorry for the late reply here.

We've just released v1.5.2 of @react-native-ml-kit/text-recognition (and the rest of the packages!) with the upgrade to ML Kit v6.0.0 on iOS. Can you please upgrade to the latest version and check if the issue is still present?

Upgrade command:

npm install @react-native-ml-kit/text-recognition@latest

or if you're using Yarn:

yarn add @react-native-ml-kit/text-recognition@latest

@Energieman
Copy link

Your issue is related to Build failing on IOS
Please check out my response in #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants