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.

On build time the pod included in the plugin can't be installed (sandbox problem)

See original GitHub issue

Hey guys,

I have a project which is working with a plugin that has a cocoapod inside it. So, on build time, I get:

Installing pods… Processing node_modules failed. Error: Command sandbox-pod failed with exit code 1 Error output: [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.4.2 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-search-0.1.0 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-stats-0.6.2 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-0.5.1 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-0.6.4 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-stats-0.5.3 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-0.6.1 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-0.6.0 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-0.4.5 [!] Unable to load a specification for the plugin /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-0.4.4 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface/error_report.rb:77:in ': Operation not permitted - git (Errno::EPERM) from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface/error_report.rb:77:in’ from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface/error_report.rb:125:in git_information' from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface/error_report.rb:38:inreport’ from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:61:in report_error' from /Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:374:inhandle_exception’ from /Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:315:in rescue in run' from /Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:303:inrun’ from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:47:in run' from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.39.0/bin/pod:44:in<main>’

I know the workaround, it is to go to: /Users/[USER NAME]/.nvm/versions/node/v0.12.7/lib/node_modules/nativescript/config/config.json and set “USE_POD_SANDBOX”: false

But still, it is interesting why this happens at all.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
jloopercommented, Dec 10, 2015

I just encountered the same, using the Firebase plugin. 😦

For what it’s worth, the path I had to find to change the config.json flag was /usr/local/lib/node_modules/nativescript/config

1reaction
jonathan-casarrubiascommented, Jun 14, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting the “Failed to Create Pod Sandbox” Error
The “failed to create pod sandbox” error is a common problem when you're trying to create a pod in Kubernetes. This article will...
Read more >
Error: "The sandbox is not in sync with the Podfile.lock... ...
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. I tried running pod install ,...
Read more >
1615375 – Failed to create pod, due to CNI issues
I installed OpenShift on a AC922 (also power9) system this week, and now this issue is very bothersome. The sdn pod will crash...
Read more >
GKE Sandbox | Google Kubernetes Engine (GKE)
This page describes how GKE Sandbox protects the host kernel on your nodes when containers in the Pod execute unknown or untrusted code....
Read more >
iOS Troubleshooting Guide
Any time you encounter an issue with iOS, or Xcode, your first step should ... If the plugin is not listed, make sure...
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