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.

Pod Install Failed:

See original GitHub issue

Hi, I getting this error after entering pod install command in ios directory and I can’t resolve this.

RuntimeError - [Xcodeproj] Consistency issue: build setting BUILD_LIBRARY_FOR_DISTRIBUTION has multiple values: {"Debug"=>"NO", "Release"=>"YES"}

macOS Catalina 10.15.7

–versions pod: 1.10.0 node: 14.15.0 xcode: 12

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
marcelodesouzacommented, Nov 3, 2020

I found how to solve in my case! Open the project in Xcode, select SDK project, go to Build Settings -> Build Options On Build Libraries for Distribution set Debug = true

Screen Shot 2020-11-03 at 13 22 02

Then, on terminal

cd ios
pod install
4reactions
infosteocommented, Nov 3, 2020

This worked for me: . I downgraded cocoa pods from 1.10.0 to 1.9.3 . Executed pod install in iOS folder . Opened project workspace in Xcode . Compiled app . Granted execution to run-packager-helper.command in Mac system preferences

Read more comments on GitHub >

github_iconTop Results From Across the Web

cocoapods - Error on pod install - Stack Overflow
The solution is to use $sudo rm -rf ~/.cocoapods to clean the cocoapods master repo and then pod install worked without any problems....
Read more >
Got error while trying pod install · Issue #10220 - GitHub
1- Go to your applications > utilities folder. · 2- Right click and click "Get Info" on your terminal app · 3- Check...
Read more >
Trouble with installing cocoapods | Apple Developer Forums
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it....
Read more >
Troubleshooting - CocoaPods Guides
In Xcode "Build Settings", find "Skip Install". Set the value for "Release" to "NO" on your application target. Build again and it should...
Read more >
How to fix “pod install” error in React Native on Mac M1
Install the ffi Ruby gem (which dynamically links native libraries programmatically) using Apple's Rosetta 2: sudo arch -x86_64 gem install ffi . Run...
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