Skip to content

[Bug]: Trying to run pod when pod isn't installed #8342

@kabo

Description

@kabo

Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 8.1.0
@capacitor/core: 8.1.0
@capacitor/android: 8.1.0
@capacitor/ios: 8.1.0

Installed Dependencies:

@capacitor/core: 8.1.0
@capacitor/cli: 8.1.0
@capacitor/android: 8.1.0
@capacitor/ios: 8.1.0

[success] Android looking great! 👌
[error] Xcode is not installed

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

This is what happens after upgrade capacitor:

✔ Copying web assets from out to android/app/src/main/assets/public in 64.64ms
✔ Creating capacitor.config.json in android/app/src/main/assets in 1.21ms
✔ copy android in 177.01ms
✔ Updating Android plugins in 27.21ms
[info] Found 5 Capacitor plugins for android:
       @capacitor/app@8.0.1
       @capacitor/filesystem@8.1.1
       @capacitor/preferences@8.0.1
       @capawesome/capacitor-live-update@8.1.0
       send-intent@7.0.0
✔ update android in 134.86ms
✔ Copying web assets from out to ios/App/App/public in 37.34ms
✔ Creating capacitor.config.json in ios/App/App in 498.62μs
✔ copy ios in 156.88ms
✔ Updating iOS plugins in 24.78ms
✖ Updating iOS native dependencies with pod install - failed!
✖ update ios - failed!
[error] Command not found. Error: spawn pod ENOENT

Expected Behavior

This is what happened before the upgrade:

✔ Copying web assets from out to android/app/src/main/assets/public in 76.01ms
✔ Creating capacitor.config.json in android/app/src/main/assets in 919.93μs
✔ copy android in 175.56ms
✔ Updating Android plugins in 41.61ms
[info] Found 5 Capacitor plugins for android:
       @capacitor/app@8.0.0
       @capacitor/filesystem@8.1.0
       @capacitor/preferences@8.0.0
       @capawesome/capacitor-live-update@8.1.0
       send-intent@7.0.0
✔ update android in 175.29ms
✔ Copying web assets from out to ios/App/App/public in 55.57ms
✔ Creating capacitor.config.json in ios/App/App in 558.73μs
✔ copy ios in 171.03ms
✔ Updating iOS plugins in 25.37ms
[warn] Skipping pod install because CocoaPods is not installed
[warn] Unable to find "xcodebuild". Skipping xcodebuild clean step...
✔ Updating iOS native dependencies with pod install in 11.86ms
[info] Found 5 Capacitor plugins for ios:
       @capacitor/app@8.0.0
       @capacitor/filesystem@8.1.0
       @capacitor/preferences@8.0.0
       @capawesome/capacitor-live-update@8.1.0
       send-intent@7.0.0
✔ update ios in 148.39ms
✔ copy web in 62.06ms
✔ update web in 51.73ms
[info] Sync finished in 1.66s

Project Reproduction

Sorry, no

Additional Information

This happened after upgrading capacitor from 8.0.2 to 8.1.0. Running in bitbucket pipelines.

From:
"@capacitor/android": "^8.0.2",
"@capacitor/app": "^8.0.0",
"@capacitor/cli": "^8.0.2",
"@capacitor/core": "^8.0.2",
"@capacitor/filesystem": "^8.1.0",
"@capacitor/ios": "^8.0.2",
"@capacitor/preferences": "^8.0.0",

To:
"@capacitor/android": "^8.1.0",
"@capacitor/app": "^8.0.1",
"@capacitor/cli": "^8.1.0",
"@capacitor/core": "^8.1.0",
"@capacitor/filesystem": "^8.1.1",
"@capacitor/ios": "^8.1.0",
"@capacitor/preferences": "^8.0.1",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions