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

Unable to do pod install on latest version of react native getting below error while trying to do pod install #336

Closed
jaykishan23 opened this issue Nov 12, 2024 · 7 comments
Assignees
Labels
duplicate This issue or pull request already exists type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@jaykishan23
Copy link

CocoaPods could not find compatible versions for pod "react-native-navigation-sdk" In Podfile:
react-native-navigation-sdk (from ../node_modules/@googlemaps/react-native-navigation-sdk)

Specs satisfying the react-native-navigation-sdk (from ../node_modules/@googlemaps/react-native-navigation-sdk) dependency were found, but they required a higher minimum deployment target.

@jaykishan23 jaykishan23 added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Nov 12, 2024
@jokerttu
Copy link
Contributor

Working on this
Duplicate of #331

@jokerttu jokerttu added duplicate This issue or pull request already exists and removed triage me I really want to be triaged. labels Nov 12, 2024
@jokerttu jokerttu reopened this Nov 15, 2024
@jokerttu
Copy link
Contributor

Hi @jaykishan23
Please update your platform version to 15.1 for RN 0.76
See: react-native-community/discussions-and-proposals#812

@jaykishan23
Copy link
Author

Hello @jokerttu , I am using Xcode version 15.4 and react native version "0.75.4" still getting the same issue

@Harry-supercode
Copy link

same issue with react native version "0.75.4"

@jokerttu
Copy link
Contributor

Have you updated your platform version to iOS 15?

For reference, you can check this line in the example Podfile:
https://github.com/googlemaps/react-native-navigation-sdk/blob/main/example/ios/Podfile#L13

Just wanted to clarify since the Xcode version mentioned earlier is a different matter.

Also as mentioned above for 0.76 you should update it to 15.1: #336 (comment)

@jaykishan23
Copy link
Author

Hello @jokerttu , After updating the podfile platform like platform :ios, "15.0" below error is coming

[!] An error occurred while processing the post-install hook of the Podfile.

unknown keyword: hermes_enabled

/Users/jaykishanpadwani/Documents/navigationDemo/node_modules/react-native/scripts/react_native_pods.rb:286:in react_native_post_install' /Users//Documents/navigationDemo/ios/Podfile:33:in block (3 levels) in from_ruby'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.16.2/lib/cocoapods-core/podfile.rb:196:in post_install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:1013:in run_podfile_post_install_hook'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:1001:in block in run_podfile_post_install_hooks' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/user_interface.rb:149:in message'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:1000:in run_podfile_post_install_hooks' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:337:in block (2 levels) in create_and_save_projects'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in write!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:336:in block in create_and_save_projects'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:315:in create_and_save_projects'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:307:in generate_pods_project' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:183:in integrate'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:170:in install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/command/install.rb:52:in run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods/command.rb:52:in run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:in load'
/usr/local/bin/pod:23:in `

'

[!] [Codegen] warn: using experimental new codegen integration

@jokerttu
Copy link
Contributor

jokerttu commented Nov 19, 2024

@jaykishan23
Please check how example app is configured.
The above error is not related to navigation sdk package.
Make sure to clean Podfile.lock and reinstall pods with pod install.
Also check that you have done all necessary changes to your project with https://react-native-community.github.io/upgrade-helper/
(but do not enable new architecture, and keep jetifier enabled as described in README.md)

Closing this issue as this is not related to this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants