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

Error in cordova prepare when update cordova-ios from 6 to 7. #1398

Open
3 tasks done
DiegoSestito opened this issue Feb 20, 2024 · 1 comment
Open
3 tasks done

Error in cordova prepare when update cordova-ios from 6 to 7. #1398

DiegoSestito opened this issue Feb 20, 2024 · 1 comment
Labels
info-needed Further information is requested Stale/2024 Stales issues (as of around 2024-08)

Comments

@DiegoSestito
Copy link

DiegoSestito commented Feb 20, 2024

Bug Report

Problem

When running cordova prepare I get the following error:
##[error]Searching for inspections failed: undefined method `map' for nil:NilClass

##[error]Command failed with exit code 1: pod install --verbose

What is expected to happen?

command successfully executed

What does actually happen?

command fail

Information

I've already tried the suggested solution of running the script: sudo arch -x86_64 gem install ffi

Command or Code

cordova prepare ios

Environment, Platform, Device

Start after updating cordova-ios from 6 to 7.

Version information

cordova 12
cordova-ios 7
macos 13

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@dpogue
Copy link
Member

dpogue commented Feb 21, 2024

Can you try running cordova requirements and post the output here?

How did you install CocoaPods? It sounds like this issue can happen if you did something like sudo gem install cocoapods and one suggested workaround is to install CocoaPods using a package manager like Homebrew

@erisu erisu added the info-needed Further information is requested label Mar 8, 2024
@dpogue dpogue added the Stale/2024 Stales issues (as of around 2024-08) label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Further information is requested Stale/2024 Stales issues (as of around 2024-08)
Projects
None yet
Development

No branches or pull requests

3 participants