Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic cap sync fails on non OSX #5095

Open
mueggi opened this issue Aug 12, 2024 · 0 comments
Open

ionic cap sync fails on non OSX #5095

mueggi opened this issue Aug 12, 2024 · 0 comments
Labels

Comments

@mueggi
Copy link

mueggi commented Aug 12, 2024

Description:
After upgrading from Capacitor 5 to 6, ionic cap sync fails on linux because it tries to run bundle exec pod install.

[capacitor] ✔ copy ios in 368.39ms
[capacitor] ✔ Updating iOS plugins in 7.48ms
[capacitor] ✖ Updating iOS native dependencies with bundle exec pod install - failed!
[capacitor] ✖ update ios - failed!
[capacitor] [error] ERR_SUBPROCESS_COMMAND_NOT_FOUND
[ERROR] An error occurred while running subprocess capacitor.

Compared to:
[capacitor] ✔ copy ios in 296.50ms
[capacitor] ✔ Updating iOS plugins in 7.73ms
[capacitor] [info] Found 16 Capacitor plugins for ios:
[capacitor] @capacitor-community/[email protected]
[capacitor] @capacitor-community/[email protected]
[capacitor] @capacitor-community/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @capacitor/[email protected]
[capacitor] @newaydata/[email protected]
[capacitor] @sentry/[email protected]
[capacitor] [email protected]
[capacitor] @newaydata/[email protected]
[capacitor] [warn] Skipping pod install because CocoaPods is not installed
[capacitor] [warn] Unable to find "xcodebuild". Skipping xcodebuild clean step...
[capacitor] ✔ Updating iOS native dependencies with pod install in 4.18ms
[capacitor] ✔ update ios in 17.48ms
[capacitor] ✔ copy web in 6.86ms
[capacitor] ✔ update web in 221.97μs
[capacitor] [info] Sync finished in 0.775s

Steps to Reproduce:
Run ionic cap sync on a non OSX system.

Output:
[capacitor] ✔ copy ios in 368.39ms
[capacitor] ✔ Updating iOS plugins in 7.48ms
[capacitor] ✖ Updating iOS native dependencies with bundle exec pod install - failed!
[capacitor] ✖ update ios - failed!
[capacitor] [error] ERR_SUBPROCESS_COMMAND_NOT_FOUND
[ERROR] An error occurred while running subprocess capacitor.

My ionic info:
Ionic:

Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 8.2.6
@angular-devkit/build-angular : 17.3.8
@angular-devkit/schematics : 17.3.8
@angular/cli : 17.3.8
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.1.2
@capacitor/android : 6.1.2
@capacitor/core : 6.1.2
@capacitor/ios : 6.1.2

Cordova:

Cordova CLI : not installed
Cordova Platforms : not available
Cordova Plugins : not available

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

Android SDK Tools : 26.1.1 (/home/mueggler/Android/Sdk)
NodeJS : v20.16.0 (/home/mueggler/.nvm/versions/node/v20.16.0/bin/node)
npm : 10.8.1
OS : Linux 6.9

@ionitron-bot ionitron-bot bot added the triage label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant