question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ns docotor android throws cocoa pod errors

See original GitHub issue

On a new Mac M1, % ns doctor android produces

✔ Getting environment information 

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.0.1 version and is up to date.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 12.4.0 satisfies minimum required version 10.
✖ WARNING: There was a problem with CocoaPods 
 Verify that CocoaPods are configured properly. 

Your environment is not configured properly and you will not be able to execute local builds.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

1reaction
EdJonescommented, May 6, 2021

@nicoisz Here is the zip file that belongs in that folder: cocoapods.zip If you do a pod install after putting it there, you should get your real issue.

0reactions
EdJonescommented, May 5, 2021

I think you followed instructions, and installed a new ruby; when the system Ruby would have worked. The X86 is clue. I’m not at Mac now, but you’ll need a ARM64 Ruby. Mine is ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20] which came from the factory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't build an {N} 6.3.0 iOS app due to pod install failure #5191
✓ CocoaPods are installed. ✓ CocoaPods update is not required. ✓ CocoaPods are configured properly. ✓ Your current CocoaPods version is ...
Read more >
tns doctor not working. WARNING: There was a problem with ...
Install your CocoaPods with superuser permissions. sudo gem install cocoapods. And then check if they are installed correctly pod --version.
Read more >
Flutter error: "CocoaPods not installed or not in valid state."
I restarted Android Studio. I ran File > Invalidate Caches… > Invalidate and Restart . I ran cd ios pod install. This threw...
Read more >
Troubleshooting - NativeScript Docs
Error thrown when attempting to run build-related operations for iOS ... Problem: NativeScript CLI installation or tns doctor complains that Xcode is not ......
Read more >
EDi - River Thames Conditions - Environment Agency - GOV.UK
Oude sterrewacht, Ad duha bahasa latin, Dr mancoll plastic surgery, ... Box tv android 4.1, Munoz vs machida live stream, Glsizei typedef, Oman...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found