Replies: 1 comment
-
@Enisco 1. Check Local Versions: Verify the Xcode version and CocoaPods version on your local machine using the following commands:
Ensure these match the versions used in your Codemagic workflow. If there’s a mismatch, try updating or downgrading accordingly. 2. Use the Default CocoaPods Version: Some users have resolved this issue by selecting the default/pre-installed CocoaPods version under the CocoaPods dropdown in the Codemagic Workflow Editor (especially when using Xcode 15.1). 3. Manually Set CocoaPods Version: If needed, explicitly set the CocoaPods version to 1.16.2 in codemagic.yaml to prevent compatibility issues:
I hope this helps others facing the same issue. |
Beta Was this translation helpful? Give feedback.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
I get the following error while trying to push my iOS app to the App store. I understand this error is due to the incorrect installation of Cocoapods on the Mac M2 instance I'm assigned to use in building the app on Codemagic.
Archiving com.d818.d818-food-app...
Automatically signing iOS for device deployment using specified development team in Xcode project: 445A85337F
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
CocoaPods not installed or not in valid state.
Build failed :|
Failed to build for iOS
Expected results
iOS app successfully built
Actual results
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
Build id (optional)
679860de50c88cb026ef9f75
Beta Was this translation helpful? Give feedback.
All reactions