The 'pod' command failed with error: The process '/usr/local/lib/ruby/gems/3.0.0/bin/pod' failed with exit code 1
jaydeep-myblueprint opened this issue · comments
Description
Getting below error frequently on ios build using appcenter
##[error]The process '/usr/local/lib/ruby/gems/3.0.0/bin/pod' failed with exit code 1
##[error]The 'pod' command failed with error: The process '/usr/local/lib/ruby/gems/3.0.0/bin/pod' failed with exit code 1
Repro Steps
Please list the steps used to reproduce your issue.
- Merge branch
- Build the app on staging and hotfix environments
Details
- Which version of the App Center SDK are you using?
- 5.0.1
- Which OS version did you experience the issue on?
- iOS
- What device version did you see this error on? Were you using an emulator or a physical device?
- build not generated
- What third party libraries are you using?
- example
- Run the following command and paste the output below:
react-native info
System:
OS: macOS 14.2.1
CPU: (8) arm64 Apple M1
Memory: 693.52 MB / 16.00 GB
Shell:
version: 3.2.57
path: /bin/sh
Binaries:
Node:
version: 18.17.0
path: /opt/homebrew/opt/node@18/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 9.6.7
path: /opt/homebrew/opt/node@18/bin/npm
Watchman:
version: 2023.07.10.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.19
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.6
wanted: 0.72.6
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
-
If you're developing for React Native iOS, run the following command and paste the output below:
pod --version
1.15.2
-
Please enable verbose logging for your app using
[MSAppCenter setLogLevel: MSLogLevelVerbose];
before your call to[AppCenterReactNative register];
(or any other SDK registration). For Android, useAppCenter.setLogLevel(android.util.Log.VERBOSE);
before yourSoLoader.init
call (you will need toimport com.microsoft.appcenter.AppCenter;
). Include the logs here:
Hello @jaydeep-myblueprint, thank you for getting in touch! It appears that the issue you're experiencing isn't related to the AppCenter ReactNative SDK. If you encounter difficulties while building your app on AppCenter, we encourage you to reach out to our support team for prompt assistance.