Capacitor: Unknown installation options: disable_input_output_paths

Created on 30 Apr 2019  ·  2Comments  ·  Source: ionic-team/capacitor

Description of the problem:
When trying to build a newly generated ionic capacitor project I am faced with the error [error] Error running update: [!] Unknown installation options: disable_input_output_paths.. This issue can be fixed by finding the Podfile in the ios/App directory and removing , :disable_input_output_paths => true from the file (line 7).

Affected platform

  • [ ] Android
  • [x] iOS
  • [ ] electron
  • [ ] web

OS of the development machine

  • [ ] Windows
  • [x] macOS
  • [ ] linux

Other information:

Capacitor version: 1.0.0-beta.22

node version: 8.9.4

npm version: 6.5.0

CocoaPods version: 1.5.3

Steps to reproduce:

  • Create new ionic capacitor app
  • Add the iOS platform (npx cap add ios)
  • Sync the project (npx cap sync)

Both of these last steps should show the error I highlight here.
Now to reproduce the fix:

  • Find the Podfile in the ios/App directory. Remove the following line: , :disable_input_output_paths => true.
  • Sync the project again (npx cap sync)

You should now see the sync complete successfully.

Most helpful comment

As the comment on top of that line says

Requires CocoaPods 1.6 or newer

So you have two choices, update your CocoaPods version or removing the line as you already did. But it's not a bug.

All 2 comments

As the comment on top of that line says

Requires CocoaPods 1.6 or newer

So you have two choices, update your CocoaPods version or removing the line as you already did. But it's not a bug.

Yes, this works for me update your CocoaPods version: Link: https://stackoverflow.com/a/39482577/1077309

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielsogl picture danielsogl  ·  3Comments

Hansel03 picture Hansel03  ·  3Comments

nicobytes picture nicobytes  ·  3Comments

gnesher picture gnesher  ·  3Comments

moberwasserlechner picture moberwasserlechner  ·  3Comments