Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70936

After upgrade capacitor 5 to 6 "cap sync" trying to execute bundle exec pod install on linux

$
0
0

Executing cap sync before updating skipped bundle exec pod install:
[capacitor] [warn] Skipping pod install because CocoaPods is not installed
[capacitor] [warn] Unable to find “xcodebuild”. Skipping xcodebuild clean step…

After the upgrade, it tries to execute it:
[capacitor] :heavy_multiplication_x: Updating iOS native dependencies with bundle exec pod install - failed!
[capacitor] :heavy_multiplication_x: update ios - failed!
[capacitor] [error] ERR_SUBPROCESS_COMMAND_NOT_FOUND
[ERROR] An error occurred while running subprocess capacitor.

I checked the update.js file from capacitor/cli and somehow podPath changed from “pod” to “bundle exec pod” after the upgrade and if it starts with bundle, it tries to be executed. I don’t know where this comes from. Any advice is appreciated.
From the update.js
const podPath = await config.ios.podPath;
const useBundler = podPath.startsWith(‘bundle’);
const podCommandExists = await (0, subprocess_1.isInstalled)(‘pod’);
if (useBundler || podCommandExists) {

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70936

Trending Articles