Failing to add ios - 'CocoaPods could not find compatible versions for pod "Capacitor"' #4413
-
I'm just adding ios to my project which is already working ok on Android. I did:
The output from this last command is:
I have previously built an ios project on this machine (different project). Any hints on where to look for a solution to this would be appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The issue proved to be the version of @capacitor/ios that had installed, since I added this a few weeks after setting up the other parts of the project the default version I got was @3.0.0-rc0 (or something like that) where the rest of the codebase was @2.4.6. Solved by removing the package and reinstalling @capacitor/ios@2. Steve |
Beta Was this translation helpful? Give feedback.
The issue proved to be the version of @capacitor/ios that had installed, since I added this a few weeks after setting up the other parts of the project the default version I got was @3.0.0-rc0 (or something like that) where the rest of the codebase was @2.4.6. Solved by removing the package and reinstalling @capacitor/ios@2.
Steve